.wl-page {
  padding-block: clamp(4.75rem, 6vw, 5.25rem) 4rem;
}

.wl-shell {
  width: min(100%, 1280px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(420px, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.wl-hero {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding-top: clamp(0.5rem, 2.5vw, 2rem);
}

.wl-kicker {
  width: fit-content;
  border: 3px solid #000;
  background: var(--hh-lcd, #15181a);
  color: var(--hh-amber, #f3af07);
  box-shadow: 4px 4px 0 #000;
  font-family: var(--pixel, "Press Start 2P", monospace);
  font-size: 0.55rem;
  line-height: 1.6;
  padding: 0.55rem 0.7rem;
  text-transform: uppercase;
}

.wl-hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.75rem, 5.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 6px 6px 0 #000;
}

.wl-hero p {
  max-width: 44rem;
  color: var(--text-secondary, #9aa1a8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.wl-mini-ledger {
  display: grid;
  gap: 1px;
  max-width: 520px;
  border: 3px solid #000;
  background: #000;
  box-shadow: 5px 5px 0 #000;
}

.wl-mini-ledger span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: var(--hh-panel, #272a2c);
  color: var(--text-secondary, #9aa1a8);
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 0.78rem;
  padding: 0.8rem 0.9rem;
}

.wl-mini-ledger b {
  color: var(--hh-green, #00ff66);
  font-weight: 700;
  text-align: right;
}

.wl-card {
  border: 4px solid #000;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025), transparent 160px),
    var(--hh-body, #1e2022);
  box-shadow: 7px 7px 0 #000;
  padding: clamp(1rem, 2.2vw, 1.65rem);
}

.wl-card-head {
  border: 2px solid #000;
  background: var(--hh-lcd, #15181a);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.wl-card-head span {
  display: block;
  color: var(--hh-amber, #f3af07);
  font-family: var(--pixel, "Press Start 2P", monospace);
  font-size: 0.5rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.wl-card-head h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.wl-form {
  display: grid;
  gap: 1rem;
}

.wl-field {
  display: grid;
  gap: 0.45rem;
}

.wl-field label {
  color: var(--text-secondary, #9aa1a8);
  font-family: var(--pixel, "Press Start 2P", monospace);
  font-size: 0.48rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.wl-field input,
.wl-field textarea,
.wl-field select {
  width: 100%;
  min-height: 52px;
  border: 3px solid #000;
  border-radius: 0;
  background: #f5eef3;
  color: #15181a;
  box-shadow: 4px 4px 0 #000;
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 0.95rem;
  padding: 0.85rem 0.95rem;
}

.wl-field textarea {
  min-height: 116px;
  resize: vertical;
}

.wl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.wl-connect {
  width: 100%;
  min-height: 48px;
  margin-top: 0.1rem;
}

.wl-follow {
  width: 100%;
  min-height: 48px;
}

.wl-submit {
  min-height: 58px;
  margin-top: 0.4rem;
}

.wl-status {
  min-height: 44px;
  border: 2px dashed #000;
  color: var(--text-secondary, #9aa1a8);
  background: rgba(0, 0, 0, 0.18);
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 0.82rem;
  line-height: 1.55;
  padding: 0.75rem 0.85rem;
}

.page-collab .wl-card {
  padding: clamp(0.9rem, 1.8vw, 1.3rem);
}

.page-collab .wl-card-head {
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}

.page-collab .wl-form {
  gap: 0.7rem;
}

.page-collab .wl-row {
  gap: 0.7rem;
}

.page-collab .wl-field {
  gap: 0.28rem;
}

.page-collab .wl-field input,
.page-collab .wl-field select {
  min-height: 44px;
  padding: 0.65rem 0.8rem;
}

.page-collab .wl-field textarea {
  min-height: 78px;
  padding: 0.65rem 0.8rem;
}

.page-collab .wl-connect {
  min-height: 42px;
}

.page-collab .wl-submit {
  min-height: 48px;
}

.page-collab .wl-status {
  min-height: 38px;
  padding: 0.55rem 0.7rem;
}

.page-collab .wl-note {
  display: none;
}

.wl-status[data-mode="ok"] {
  border-style: solid;
  color: var(--hh-green, #00ff66);
}

.wl-status[data-mode="error"] {
  border-style: solid;
  color: var(--hh-red, #e0533b);
}

.wl-closed {
  border: 3px solid #000;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 4px 4px 0 #000;
  display: grid;
  gap: 0.9rem;
  padding: clamp(1rem, 2.4vw, 1.4rem);
}

.wl-closed p {
  margin: 0;
  color: var(--text-primary, #f3f5f6);
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.wl-closed p:last-child {
  color: var(--hh-amber, #f3af07);
}

.wl-note {
  margin: 0;
  color: var(--text-muted, #6b727a);
  font-size: 0.86rem;
  line-height: 1.6;
}

.wl-disclaimer {
  margin: 0;
  color: var(--text-muted, #6b727a);
  font-size: 0.86rem;
  line-height: 1.6;
}

.wl-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 3px solid #000;
  background: #000;
  box-shadow: 5px 5px 0 #000;
}

.wl-proof-strip div {
  min-height: 86px;
  background: var(--hh-panel, #272a2c);
  padding: 0.9rem;
}

.wl-proof-strip span {
  display: block;
  color: var(--hh-amber, #f3af07);
  font-family: var(--pixel, "Press Start 2P", monospace);
  font-size: 0.45rem;
  line-height: 1.55;
  margin-bottom: 0.45rem;
}

.wl-proof-strip p {
  margin: 0;
  color: var(--text-secondary, #9aa1a8);
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .wl-shell,
  .wl-row {
    grid-template-columns: 1fr;
  }

  .wl-shell {
    width: min(100%, 640px);
  }

  .wl-hero {
    min-height: auto;
    padding-top: 0;
  }

  .wl-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 12vw, 3.4rem);
    line-height: 1.05;
  }

  .wl-proof-strip {
    grid-template-columns: 1fr;
  }
}
