:root {
  --flap-height: 40px;
  --flap-width: 20px;
  --flap-gap: 2px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(255, 215, 0, 0.07), transparent 24%),
    linear-gradient(180deg, #0f0f0f 0%, #111 28%, #111 100%);
  color: white;
  font-family: monospace;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  padding: 0 0 28px;
}

main.page-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.panel-section {
  width: 100%;
  padding-top: 14px;
  text-align: center;
}

.panel-section > .qr-card,
.panel-section > .qr-zone {
  width: 100%;
}

.qr-card {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 1.05em 1.1em;
  background: linear-gradient(180deg, #1d1d1d 0%, #1a1a1a 100%);
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.18);
}

.qr-card h2 {
  color: #FFD700;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intro-card {
  text-align: center;
}

.intro-hero {
  padding: 1.7em 1.5em;
  background:
    linear-gradient(180deg, rgba(34, 34, 34, 0.98), rgba(26, 26, 26, 0.98)),
    linear-gradient(90deg, rgba(255, 215, 0, 0.05), transparent 30%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.hero-button:hover {
  transform: translateY(-1px);
}

.hero-button-primary {
  background: #FFD700;
  color: #111;
  border: 1px solid #FFD700;
}

.hero-button-secondary {
  background: transparent;
  color: #f3f3f3;
  border: 1px solid #6a5d19;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #3a3520;
  border-radius: 14px;
  background:
    radial-gradient(circle at center, rgba(255, 215, 0, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(16, 16, 16, 0.98));
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 999px;
}

.hero-orbit-one {
  width: 280px;
  height: 280px;
}

.hero-orbit-two {
  width: 190px;
  height: 190px;
}

.hero-core {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.28);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.08);
}

.hero-core-label {
  color: #FFD700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hero-core-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  background: #1c1c1c;
  border: 1px solid #303030;
  color: #f3f3f3;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.hero-chip {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 999px;
  color: #FFD700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.hero-chip-top {
  top: 26px;
  left: 22px;
}

.hero-chip-right {
  right: 18px;
  top: 110px;
}

.hero-chip-bottom {
  bottom: 24px;
  left: 34px;
}

.eyebrow {
  color: #FFD700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-hero h1 {
  margin-top: 12px;
  color: white;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.02;
  font-weight: bold;
  text-wrap: balance;
}

.intro-lead {
  color: #FFD700;
  font-weight: bold;
  margin-top: 16px;
}

.intro-text {
  color: #d4d4d4;
  line-height: 1.72;
  font-size: 1rem;
}

.intro-hero .intro-text {
  margin-top: 16px;
  max-width: none;
}

.hero-divider {
  width: 100%;
  height: 1px;
  margin: 22px 0 16px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.42), rgba(255, 215, 0, 0.08), transparent);
}

.hero-why {
  display: grid;
  gap: 8px;
}

.hero-why-label {
  color: #FFD700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-why-text {
  color: #f1f1f1;
  line-height: 1.7;
  font-size: 1.03rem;
}

.hero-claim {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 12px;
  background: rgba(13, 13, 13, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.04);
}

.hero-claim-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #FFD700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-claim-text {
  color: #f5f5f5;
  line-height: 1.72;
  font-size: 1.02rem;
}

.accountability-card {
  padding: 1.25em 1.1em;
  background:
    linear-gradient(180deg, rgba(30, 30, 30, 0.98), rgba(20, 20, 20, 0.98)),
    radial-gradient(circle at top left, rgba(255, 215, 0, 0.07), transparent 34%);
}

.accountability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: center;
}

.accountability-copy {
  text-align: left;
}

.accountability-copy h2 {
  text-align: left;
}

.accountability-visual {
  margin: 0;
  min-height: 100%;
}

.accountability-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.accountability-point {
  padding: 12px;
  border: 1px solid #353535;
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.55);
}

.accountability-point-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #FFD700;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

.proof-lab-card {
  background:
    linear-gradient(180deg, rgba(31, 31, 31, 0.98), rgba(20, 20, 20, 0.98)),
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.06), transparent 34%);
}

.proof-lab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  margin-top: 18px;
}

.proof-lab-panel {
  padding: 14px;
  border: 1px solid #353535;
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.55);
  text-align: left;
}

.file-drop-zone {
  padding: 18px;
  border: 1px dashed #6a5d19;
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.45);
  transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.file-drop-zone.is-dragging {
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.07);
  transform: translateY(-1px);
}

.file-drop-title {
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 8px;
}

.file-drop-copy {
  color: #d4d4d4;
  line-height: 1.6;
}

.file-drop-zone input {
  display: block;
  width: 100%;
  margin-top: 14px;
  color: #d4d4d4;
}

.proof-meta {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #353535;
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.5);
}

.proof-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-meta-row:last-child {
  border-bottom: 0;
}

.proof-meta-row span {
  color: #FFD700;
  letter-spacing: 0.05em;
}

.proof-meta-row strong {
  color: #f3f3f3;
  text-align: right;
  overflow-wrap: anywhere;
}

.proof-meta-hash strong {
  max-width: 68%;
}

.proof-note-field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.proof-note-field label {
  color: #FFD700;
  letter-spacing: 0.05em;
}

.proof-note-field textarea {
  width: 100%;
  border: 1px solid #3b3b3b;
  border-radius: 10px;
  background: rgba(12, 12, 12, 0.9);
  color: #f3f3f3;
  font: inherit;
  padding: 12px;
  resize: vertical;
}

.proof-submit {
  margin-top: 16px;
}

.proof-status-box,
.proof-receipt {
  padding: 14px;
  border: 1px solid #353535;
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.5);
  color: #d5d5d5;
  line-height: 1.65;
}

.proof-receipt {
  margin-top: 14px;
}

.receipt-title {
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 12px;
}

.proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.proof-action-link,
.proof-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #6a5d19;
  background: transparent;
  color: #f3f3f3;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.proof-copy-feedback {
  margin-top: 10px;
  color: #FFD700;
}

.proof-qr-wrap {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.proof-qr-label {
  color: #FFD700;
  letter-spacing: 0.06em;
}

.proof-qr-canvas {
  width: 180px;
  height: 180px;
  border: 1px solid #3d3d3d;
  border-radius: 10px;
  background: #111;
  padding: 10px;
}

.landing-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.landing-facts div {
  padding-top: 10px;
  border-top: 1px solid #333;
}

.landing-facts dt {
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-facts dd {
  color: #d4d4d4;
  line-height: 1.6;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 2px;
}

.bullet-card {
  padding: 14px;
  border: 1px solid #353535;
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.55);
  text-align: left;
}

.concept-visual,
.concept-wide {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border: 1px solid #353535;
  border-radius: 10px;
  background: #121212;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.concept-visual {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.concept-wide {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 4px;
  margin-bottom: 18px;
}

.bullet-title {
  display: inline-block;
  margin-bottom: 8px;
  color: #FFD700;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid #353535;
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.55);
}

.stat-value {
  color: #FFD700;
  font-weight: bold;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.stat-label {
  color: #d4d4d4;
  line-height: 1.5;
}

.title-subline {
  color: #d4d4d4;
  margin-top: 4px;
  font-size: 1rem;
}

.qr-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  width: 100%;
  max-width: none;
}

.yellow-bg {
  background-color: #FFD700;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.18);
}

canvas#qr {
  background: #111;
  image-rendering: pixelated;
  max-width: 90vw;
  height: auto;
  border: 1px solid #000;
}

.splitflap-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0;
  overflow-x: auto;
}

.line-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 2px;
}

.line {
  display: flex;
  gap: var(--flap-gap);
  min-width: max-content;
}

.flap {
  width: var(--flap-width);
  height: var(--flap-height);
  background: black;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
  perspective: 600px;
  position: relative;
  flex: 0 0 auto;
}

.half {
  width: 100%;
  height: 50%;
  position: relative;
  overflow: hidden;
}

.top {
  border-bottom: 1px solid #222;
}

.bottom {
  border-top: 1px solid #222;
}

.letter {
  position: absolute;
  width: 100%;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--flap-height) * 0.5);
  top: 0;
}

.top .letter {
  transform: translateY(0%);
}

.bottom .letter {
  transform: translateY(-50%);
}

.flipper {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50%;
  background: black;
  transform-origin: bottom;
  z-index: 10;
  overflow: hidden;
}

.flipper.animate {
  animation: flip 0.05s ease-in forwards;
}

@keyframes flip {
  from { transform: rotateX(0); }
  to { transform: rotateX(-90deg); }
}

.white { color: white; }
.yellow { color: #FFD700; }

@media screen and (max-width: 900px) {
  .hero-layout,
  .accountability-layout,
  .proof-lab-layout,
  .accountability-points,
  .bullet-grid,
  .stat-strip,
  .landing-facts {
    grid-template-columns: 1fr;
  }

  .intro-hero h1 {
    font-size: clamp(1.85rem, 7vw, 3rem);
  }

  .hero-visual {
    min-height: 280px;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding: 0 0 22px;
  }

  .qr-card {
    padding: 1em 0.8em;
  }

  .intro-hero {
    padding: 1.35em 1em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .line {
    gap: 1px;
  }

  canvas#qr {
    max-width: 80vw;
  }

  .splitflap-card {
    padding: 0.5em;
  }

  .proof-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .proof-meta-row strong,
  .proof-meta-hash strong {
    max-width: 100%;
    text-align: left;
  }
}
