:root {
  --blue: #071a38;
  --blue-deep: #031126;
  --green: #8aff82;
  --white: #f5f8ff;
  --soft-white: #dce7f5;
  --muted: #b8c6d8;
  --line: rgba(255, 255, 255, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--blue-deep);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--blue-deep);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 17, 39, 0.98) 0%, rgba(5, 17, 39, 0.87) 34%, rgba(5, 17, 39, 0.32) 61%, rgba(5, 17, 39, 0.72) 100%),
    url("assets/dt-digital-portrait.png") center right / cover no-repeat,
    var(--blue);
}

.matrix-canvas,
.scanlines,
.vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}


.matrix-canvas {
  z-index: -4;
  opacity: 0.38;
}

.scanlines {
  z-index: -2;
  opacity: 0.11;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.055) 0,
    rgba(255, 255, 255, 0.055) 1px,
    transparent 1px,
    transparent 4px
  );
}

.vignette {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 15, 34, 0.78) 0%, rgba(4, 15, 34, 0.25) 57%, rgba(4, 15, 34, 0.58) 100%),
    linear-gradient(180deg, rgba(4, 15, 34, 0.22), transparent 44%, rgba(4, 15, 34, 0.68));
}

.binary-cloud {
  position: absolute;
  z-index: -3;
  top: 14%;
  right: 4%;
  width: 36%;
  height: 66%;
  overflow: hidden;
  color: var(--green);
  font: 500 13px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.18em;
  opacity: 0.46;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 82%, transparent);
}

.binary-cloud span {
  position: absolute;
  white-space: nowrap;
  text-shadow: 0 0 9px rgba(138, 255, 130, 0.25);
  animation: binary-drift 7s linear infinite;
}

.binary-cloud span:nth-child(1) { top: 2%; left: 13%; animation-delay: -1s; }
.binary-cloud span:nth-child(2) { top: 20%; left: 44%; animation-delay: -4s; }
.binary-cloud span:nth-child(3) { top: 39%; left: 5%; animation-delay: -2s; }
.binary-cloud span:nth-child(4) { top: 57%; left: 52%; animation-delay: -6s; }
.binary-cloud span:nth-child(5) { top: 75%; left: 22%; animation-delay: -3s; }
.binary-cloud span:nth-child(6) { top: 90%; left: 62%; animation-delay: -5s; }

.topbar,
.hero,
.footer {
  width: min(100% - 64px, 1440px);
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
}

.dt-mark {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--white);
  text-decoration: none;
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.08em;
}

.topbar time {
  color: var(--soft-white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 430px);
  gap: clamp(54px, 8vw, 120px);
  align-items: end;
  min-height: calc(100svh - 190px);
  padding: 74px 0 105px;
}

.hero-copy {
  min-width: 0;
  max-width: 800px;
}

.site-address {
  margin: 0 0 26px;
  color: #c8d7e9;
  font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(74px, 10vw, 144px);
  font-weight: 700;
  line-height: 0.79;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  text-shadow: 0 13px 38px rgba(0, 0, 0, 0.28);
  overflow-wrap: break-word;
}

.hero-title span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.12em;
}

.hero-lead {
  max-width: 610px;
  margin: 38px 0 0;
  color: var(--white);
  font-size: clamp(23px, 2.35vw, 36px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.soon {
  margin: 31px 0 0;
  color: var(--green);
  font: 600 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.subscribe {
  align-self: end;
  min-width: 0;
  padding: 28px 0 5px;
  border-top: 1px solid var(--line);
}

.subscribe-text {
  max-width: 400px;
  margin: 0 0 30px;
  color: var(--white);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.email-label {
  display: block;
  margin-bottom: 9px;
  color: var(--soft-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 160ms ease;
}

.field-row:focus-within {
  border-color: var(--green);
}

.field-row input {
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: 16px;
}

.field-row input::placeholder {
  color: #b4c5d9;
}

.field-row button {
  padding: 0 18px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--green);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.field-row button:hover {
  color: var(--white);
}

.field-row button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.field-error,
.form-status {
  min-height: 18px;
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.field-error {
  color: #ffd0d0;
}

.form-status {
  color: var(--green);
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 15px;
  color: #d1ddea;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  margin: 2px 0 0;
  accent-color: var(--green);
}

.consent a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 2px;
}

.trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}


.footer {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 27px;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #b8c8da;
  font: 600 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dialog[hidden] {
  display: none;
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 17, 0.82);
  backdrop-filter: blur(12px);
}

.dialog-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: #071a38;
}

.dialog-close {
  position: absolute;
  top: 11px;
  right: 15px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.dialog-label {
  margin: 0 0 17px;
  color: var(--green);
  font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dialog-panel h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.dialog-panel p:not(.dialog-label) {
  margin: 18px 0 28px;
  color: var(--soft-white);
  line-height: 1.5;
}

.dialog-button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--green);
  color: var(--green);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.dialog-button:hover {
  color: var(--blue-deep);
  background: var(--green);
}

@keyframes binary-drift {
  0% { transform: translateY(-10px); opacity: 0.18; }
  50% { opacity: 0.74; }
  100% { transform: translateY(38px); opacity: 0.08; }
}

@media (max-width: 940px) {
  .site-shell {
    --photo-h: 620px;
    --photo-x: 74%;
    min-height: 1000px;
    background:
      linear-gradient(
          180deg,
          rgba(4, 15, 34, 0.34) 0%,
          rgba(4, 15, 34, 0.16) 22%,
          rgba(5, 17, 39, 0.62) 58%,
          rgba(5, 17, 39, 0.94) 84%,
          var(--blue-deep) 100%
        )
        center top / 100% var(--photo-h) no-repeat,
      url("assets/dt-digital-portrait.png") var(--photo-x) top / auto var(--photo-h) no-repeat,
      var(--blue-deep);
  }

  .matrix-canvas {
    opacity: 0.22;
  }

  .vignette {
    background: linear-gradient(180deg, rgba(4, 15, 34, 0.14), transparent 32%, rgba(4, 15, 34, 0.4));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
    align-items: start;
    min-height: 0;
    padding-top: 470px;
    padding-bottom: 130px;
  }

  .subscribe {
    max-width: 600px;
  }

  .binary-cloud {
    top: auto;
    right: -3%;
    bottom: 8%;
    width: 48%;
    height: 34%;
    opacity: 0.24;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero,
  .footer {
    width: min(100% - 36px, 1440px);
  }

  .site-shell {
    --photo-h: 520px;
    --photo-x: 79%;
    min-height: 0;
  }

  .topbar {
    min-height: 82px;
  }

  .hero {
    gap: 50px;
    min-height: 0;
    padding-top: 380px;
  }

  .hero-title {
    font-size: clamp(62px, 19vw, 88px);
  }

  .hero-lead {
    font-size: 24px;
  }

  .subscribe-text {
    font-size: 21px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .field-row button {
    min-height: 48px;
    padding: 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
    text-align: left;
  }

  .binary-cloud {
    right: -14%;
    width: 68%;
    opacity: 0.2;
  }

  .footer {
    bottom: 23px;
  }


  .dialog-panel {
    padding: 38px 23px 28px;
  }
}

@media (max-width: 500px) {
  .topbar,
  .hero,
  .footer {
    width: min(100% - 32px, 1440px);
  }

  .site-shell {
    --photo-h: 450px;
    --photo-x: 83%;
    min-height: 100svh;
  }

  .hero {
    gap: 40px;
    min-height: 0;
    padding: 320px 0 92px;
  }

  .site-address {
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(42px, 14vw, 62px);
    letter-spacing: -0.06em;
  }

  .hero-lead {
    margin-top: 28px;
    font-size: 20px;
  }

  .soon {
    margin-top: 24px;
  }

  .subscribe {
    padding-top: 22px;
  }

  .subscribe-text {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .consent {
    font-size: 11.5px;
  }

  .footer {
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .dialog {
    padding: 16px;
  }

  .dialog-panel {
    padding: 34px 20px 24px;
  }

  .dialog-panel h2 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .binary-cloud span {
    animation: none;
  }

  .matrix-canvas {
    opacity: 0.2;
  }
}
