:root {
  --dmh-accent: #d83434;
  --dmh-accent-rgb: 216, 52, 52;
  --dmh-black: #000000;
  --dmh-paper: #efe3cc;
  --dmh-paper-dark: #17120d;
  --dmh-ink: #f4ead7;
  --dmh-ink-soft: #c9b190;
  --dmh-edge: rgba(201, 177, 144, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--dmh-ink);
  background: #000;
}

.dmh-landing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 100dvh;
  padding: 2.2rem 1rem;
}

.dmh-noir-backdrop,
.dmh-noir-scanlines,
.dmh-noir-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dmh-noir-backdrop {
  background: radial-gradient(circle at 50% -30%, rgba(56, 34, 26, 0.35), transparent 52%), #000;
  z-index: 0;
}

.dmh-noir-scanlines {
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(70, 56, 39, 0.45) 2px,
    rgba(15, 13, 8, 0.75) 3px
  );
  z-index: 1;
}

.dmh-noir-grain {
  opacity: 0.12;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
}

.dmh-shell {
  position: relative;
  z-index: 5;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.dmh-hero,
.dmh-panel {
  background: linear-gradient(165deg, rgba(25, 19, 13, 0.88) 0%, rgba(8, 7, 6, 0.95) 100%);
  border: 1px solid var(--dmh-edge);
  border-radius: 10px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(201, 177, 144, 0.08);
  position: relative;
  overflow: hidden;
}

.dmh-hero::after,
.dmh-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(201, 177, 144, 0.14);
  border-radius: 10px;
  pointer-events: none;
}

.dmh-hero {
  text-align: center;
  padding: 2rem 1.2rem 1.8rem;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}

.dmh-section-plain {
  padding: 0.35rem 0.4rem;
}

.dmh-cj-note {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.dmh-cj-card-shell {
  width: 11.6rem;
  height: 17rem;
  margin: 0 auto;
  position: relative;
}

.dmh-cj-card {
  width: 100%;
  height: 100%;
  background: #0f0d08;
  border: 2px solid rgba(201, 177, 144, 0.55);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  position: relative;
  overflow: hidden;
  transform: rotate(-1.3deg);
  animation: dmh-card-float 4s ease-in-out infinite;
}

.dmh-cj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.dmh-cj-corner {
  position: absolute;
  z-index: 2;
  color: rgba(227, 213, 184, 0.9);
  font-family: "Courier Prime", monospace;
  font-size: 0.75rem;
  line-height: 1;
  text-align: center;
}

.dmh-cj-corner-top {
  top: 0.45rem;
  left: 0.45rem;
}

.dmh-cj-corner-bottom {
  bottom: 0.45rem;
  right: 0.45rem;
  transform: rotate(180deg);
}

.dmh-cj-sign {
  position: absolute;
  left: 0.95rem;
  bottom: 0.72rem;
  z-index: 3;
  color: var(--dmh-accent);
  font-family: "Special Elite", monospace;
  font-size: 1.32rem;
  transform: rotate(-11deg);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.dmh-cj-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: translateX(-130%);
  animation: dmh-card-shimmer 3.6s ease-in-out infinite;
}

.dmh-cj-copy {
  display: grid;
  gap: 0.55rem;
}

.dmh-copy-soft {
  color: var(--dmh-ink-soft);
}

.dmh-tilt-a {
  transform: rotate(-0.15deg);
}

.dmh-tilt-b {
  transform: rotate(0.15deg);
}

.dmh-tilt-c {
  transform: rotate(-0.1deg);
}

.dmh-badge {
  margin: 0;
  color: var(--dmh-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 700;
}

.dmh-title,
.dmh-section-title {
  margin: 0;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dmh-ink);
}

.dmh-title {
  font-size: clamp(1.7rem, 5.6vw, 3.2rem);
  line-height: 1.08;
  max-width: 22ch;
}

.dmh-section-title {
  font-size: clamp(1.05rem, 3.2vw, 1.65rem);
  margin-bottom: 0.65rem;
}

.dmh-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dmh-ink);
  max-width: 68ch;
}

.dmh-tagline span {
  display: inline-block;
  background: #efe3cc;
  color: #1a140f;
  font-family: "Special Elite", monospace;
  font-size: clamp(0.82rem, 2.2vw, 1rem);
  line-height: 1.3;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
  transform: rotate(-1.6deg);
}

.dmh-hero-illustration {
  width: min(100%, 560px);
  aspect-ratio: 82 / 28;
  background: transparent;
}

.dmh-hero-illustration svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dmh-scene-solid {
  fill: #f2ede3;
}

.dmh-scene-line {
  fill: none;
  stroke: #f2ede3;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dmh-scene-line-thin {
  stroke-width: 4;
  opacity: 0.9;
}

.dmh-scene-figure {
  transform-origin: 312px 156px;
  animation: dmh-scene-bob 4.2s ease-in-out infinite;
}

.dmh-scene-steam circle {
  fill: rgba(242, 237, 227, 0.5);
  animation: dmh-scene-steam 3.6s ease-in-out infinite;
}

.dmh-scene-steam circle:nth-child(2),
.dmh-scene-steam circle:nth-child(4) {
  animation-delay: 0.7s;
}

@keyframes dmh-scene-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.5px);
  }
}

@keyframes dmh-scene-steam {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-10px);
    opacity: 0.46;
  }
}

@keyframes dmh-card-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes dmh-card-shimmer {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

.dmh-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid rgba(var(--dmh-accent-rgb), 0.72);
  background: transparent;
  color: #efe3cc;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.15em;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.9rem 1.3rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.dmh-cta:hover,
.dmh-cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.dmh-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--dmh-accent-rgb), 0.2), 0 10px 24px rgba(0, 0, 0, 0.45);
}

.dmh-cta-primary {
  background: linear-gradient(145deg, rgba(var(--dmh-accent-rgb), 0.95), rgba(140, 22, 22, 0.95));
  border-color: rgba(var(--dmh-accent-rgb), 0.95);
  color: #fff4ed;
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(255, 224, 224, 0.14);
  animation: dmh-cta-pulse 1.9s ease-in-out infinite;
}

.dmh-cta-secondary {
  margin-top: 0.8rem;
}

.dmh-cta-ring {
  position: absolute;
  inset: 3px;
  pointer-events: none;
  z-index: 1;
}

.dmh-cta-ring svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dmh-cta-ring rect {
  fill: none;
  stroke: rgba(var(--dmh-accent-rgb), 0.95);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 5 6;
  stroke-dashoffset: 0;
  animation: dmh-demo-dash-loop 11s linear infinite;
  opacity: 0.95;
}

.dmh-cta-label {
  position: relative;
  z-index: 2;
}

@keyframes dmh-demo-dash-loop {
  100% {
    stroke-dashoffset: -132;
  }
}

@keyframes dmh-cta-pulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), 0 0 0 0 rgba(var(--dmh-accent-rgb), 0);
  }
  50% {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(var(--dmh-accent-rgb), 0.18);
  }
}

.dmh-microcopy {
  margin: 0;
  color: var(--dmh-ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Courier Prime", monospace;
}

.dmh-panel {
  padding: 1.2rem;
}

.dmh-how-style {
  transform: none;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(9, 8, 7, 0.98), rgba(5, 5, 5, 0.98));
  border: 1px solid rgba(201, 177, 144, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.52), inset 0 0 0 1px rgba(201, 177, 144, 0.14);
  padding-top: 1.3rem;
}

.dmh-how-style::after {
  display: none;
}

.dmh-how-style::before {
  content: "";
  position: absolute;
  top: -0.48rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.2rem;
  height: 0.58rem;
  background: rgba(239, 227, 204, 0.8);
  border: 1px solid rgba(40, 34, 23, 0.28);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dmh-how-style .dmh-section-title {
  text-align: center;
  font-family: "Special Elite", monospace;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: #ece0ca;
  margin-bottom: 1.15rem;
}

.dmh-how-style .dmh-section-title::before {
  content: none;
}

.dmh-how-style .dmh-steps {
  padding-top: 0.82rem;
  border-top: 1px solid rgba(201, 177, 144, 0.22);
  gap: 1rem;
}

.dmh-how-style .dmh-steps li {
  gap: 1rem;
  padding-left: 0.95rem;
  font-size: 1rem;
  line-height: 1.5;
}

.dmh-how-style .dmh-step-index {
  color: rgba(201, 177, 144, 0.9);
}

.dmh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.dmh-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.82rem;
  align-items: start;
  border-left: 2px solid rgba(var(--dmh-accent-rgb), 0.75);
  padding-left: 0.86rem;
  line-height: 1.45;
}

.dmh-step-index {
  color: var(--dmh-accent);
  font-family: "Courier Prime", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  padding-top: 0.1rem;
}

.dmh-fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.dmh-fit-list li {
  color: #efe3cc;
  font-family: "Courier Prime", monospace;
  font-size: 0.9rem;
  line-height: 1.35;
  position: relative;
  padding-left: 1rem;
}

.dmh-fit-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(var(--dmh-accent-rgb), 0.85);
}

.dmh-form-panel {
  padding-top: 1.4rem;
}

.dmh-scarcity-apply .dmh-section-title + .dmh-copy {
  margin-bottom: 0.8rem;
}

.dmh-slots-note {
  margin: 0 0 0.45rem;
  font-family: "Courier Prime", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--dmh-ink-soft);
}

.dmh-slots-note.is-available {
  color: #9be7aa;
}

.dmh-slots-note.is-unavailable {
  color: #ffb2b2;
}

.dmh-red-dash-line {
  height: 1px;
  width: 100%;
  margin: 0.45rem 0 1rem;
  background-image: repeating-linear-gradient(
    to right,
    rgba(var(--dmh-accent-rgb), 0.95) 0 12px,
    transparent 12px 20px
  );
  animation: dmh-red-dash-slide 16s linear infinite;
}

@keyframes dmh-red-dash-slide {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 220px;
  }
}

.dmh-form {
  display: grid;
  gap: 0.85rem;
}

.dmh-form-single {
  grid-template-columns: minmax(0, 1fr);
}

.dmh-field {
  display: grid;
  gap: 0.42rem;
}

.dmh-field > span,
.dmh-choice-group legend {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dmh-ink);
}

.dmh-field input[type="text"],
.dmh-field input[type="email"],
.dmh-field textarea,
.dmh-field select {
  width: 100%;
  border: 1px solid rgba(201, 177, 144, 0.35);
  border-radius: 7px;
  background: rgba(9, 8, 6, 0.72);
  color: var(--dmh-ink);
  padding: 0.72rem 0.76rem;
  font-family: "Courier Prime", monospace;
  font-size: 0.94rem;
}

.dmh-field input::placeholder,
.dmh-field textarea::placeholder {
  color: rgba(244, 234, 215, 0.62);
}

.dmh-field input:focus,
.dmh-field textarea:focus,
.dmh-field select:focus {
  outline: none;
  border-color: rgba(var(--dmh-accent-rgb), 0.8);
  box-shadow: 0 0 0 3px rgba(var(--dmh-accent-rgb), 0.17);
}

.dmh-choice-group {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.45rem;
}

.dmh-choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--dmh-ink-soft);
  font-size: 0.92rem;
}

.dmh-choice-group input[type="radio"] {
  accent-color: var(--dmh-accent);
}

.dmh-inline-note {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--dmh-ink-soft);
  line-height: 1.45;
}

.dmh-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--dmh-ink-soft);
}

.dmh-consent input[type="checkbox"] {
  margin-top: 0.14rem;
  accent-color: var(--dmh-accent);
}

.dmh-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dmh-status {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.dmh-status.is-error {
  color: #ff8585;
}

.dmh-status.is-success {
  color: #9be7aa;
}

.dmh-status-link {
  color: #efe3cc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dmh-status-link:hover,
.dmh-status-link:focus-visible {
  color: #ffffff;
}

.dmh-claimed-page {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: radial-gradient(circle at 50% -30%, rgba(56, 34, 26, 0.35), transparent 52%), #000;
}

.dmh-claimed-page[hidden] {
  display: none !important;
}

.dmh-claimed-card {
  width: min(100%, 720px);
  display: grid;
  gap: 0.75rem;
  text-align: center;
  padding: 1.45rem 1.2rem 1.3rem;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(9, 8, 7, 0.98), rgba(5, 5, 5, 0.98));
  border: 1px solid rgba(201, 177, 144, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.52), inset 0 0 0 1px rgba(201, 177, 144, 0.14);
  position: relative;
}

.dmh-claimed-card::before {
  content: "";
  position: absolute;
  top: -0.48rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.2rem;
  height: 0.58rem;
  background: rgba(239, 227, 204, 0.8);
  border: 1px solid rgba(40, 34, 23, 0.28);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dmh-claimed-card .dmh-section-title {
  font-family: "Special Elite", monospace;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: #ece0ca;
  margin: 0.1rem 0 0.1rem;
}

.dmh-claimed-divider {
  height: 1px;
  width: 100%;
  background: rgba(201, 177, 144, 0.22);
}

.dmh-claimed-message-block {
  text-align: left;
}

.dmh-claimed-message {
  max-width: none;
}

.dmh-claimed-steps {
  margin-top: 0.35rem;
  gap: 0.65rem;
}

.dmh-claimed-steps li {
  font-size: 0.98rem;
  line-height: 1.45;
  border-left: 2px solid rgba(var(--dmh-accent-rgb), 0.75);
  padding-left: 0.86rem;
}

.dmh-case-id-label {
  margin: 0.1rem 0 0.15rem;
  color: var(--dmh-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-family: "Courier Prime", monospace;
}

.dmh-case-id-value {
  margin: 0;
  color: #fff4ed;
  font-family: "Courier Prime", monospace;
  font-size: clamp(0.95rem, 2.6vw, 1.2rem);
  letter-spacing: 0.08em;
  word-break: break-word;
}

.dmh-footer {
  text-align: center;
  color: var(--dmh-ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.3rem 0.8rem;
}

@media (min-width: 760px) {
  .dmh-landing {
    padding: 2.8rem 1.4rem;
  }

  .dmh-hero {
    padding: 2.35rem 2rem 2rem;
  }

  .dmh-panel {
    padding: 1.5rem;
  }

  .dmh-cj-note {
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
    gap: 1.25rem;
  }

  .dmh-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.95rem;
  }

  .dmh-form .dmh-field:nth-child(2),
  .dmh-form .dmh-field:nth-child(3),
  .dmh-form .dmh-field:nth-child(4),
  .dmh-form .dmh-choice-group,
  .dmh-form .dmh-consent,
  .dmh-form .dmh-status,
  .dmh-form button {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dmh-tilt-a,
  .dmh-tilt-b,
  .dmh-tilt-c,
  .dmh-scene-figure,
  .dmh-scene-steam circle,
  .dmh-cta-primary,
  .dmh-cta-ring rect,
  .dmh-red-dash-line,
  .dmh-cj-card,
  .dmh-cj-shimmer {
    transform: none;
    animation: none;
  }
}
