:root {
  color-scheme: dark;
  --ink: #02080b;
  --surface: rgba(5, 21, 25, 0.72);
  --line: rgba(117, 255, 231, 0.18);
  --text: #ebfff9;
  --muted: #8caeaa;
  --cyan: #62fff0;
  --green: #9cff37;
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 77% 44%, rgba(0, 104, 158, 0.25), transparent 31rem),
    radial-gradient(circle at 18% 72%, rgba(45, 255, 119, 0.07), transparent 26rem),
    var(--ink);
  font-family: "Courier New", Courier, monospace;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(98, 255, 240, 0.08) 4px
  );
}

.ambient {
  position: fixed;
  z-index: -1;
  top: 8%;
  right: -16rem;
  width: 44rem;
  height: 44rem;
  border: 1px solid rgba(98, 255, 240, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 7rem rgba(98, 255, 240, 0.015),
    0 0 0 15rem rgba(98, 255, 240, 0.01);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.site-header,
.hero,
footer {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: 120px;
  height: 40px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 0 8px rgba(98, 255, 240, 0.5));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-width: 64px;
  padding: 11px 14px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  text-transform: uppercase;
  transition: 180ms ease;
}

.nav-links a:hover {
  border-color: var(--line);
  color: var(--cyan);
  background: rgba(98, 255, 240, 0.05);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  min-height: calc(100vh - 172px);
  padding-block: 64px 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: var(--cyan);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.1rem, 5vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.84;
  text-transform: uppercase;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(235, 255, 249, 0.64);
  text-shadow: 0 0 28px rgba(98, 255, 240, 0.09);
}

.description {
  max-width: 580px;
  margin: 34px 0 0;
  color: #bad2ce;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--cyan);
  color: #00100c;
  background: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 32px rgba(98, 255, 240, 0.18);
  transition: 180ms ease;
}

.primary-action:hover {
  color: var(--cyan);
  background: transparent;
}

.ticker {
  margin: 0;
  color: var(--green);
  font-size: 1.1rem;
  text-shadow: 0 0 16px rgba(156, 255, 55, 0.45);
}

.contract-block {
  max-width: 580px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contract-label {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contract-row {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contract-row code {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  overflow: hidden;
  color: #d8f6f0;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-row button {
  position: relative;
  align-self: stretch;
  min-width: 92px;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--cyan);
  background: transparent;
  font: inherit;
  font-size: 0.76rem;
  text-transform: uppercase;
  cursor: pointer;
}

.contract-row button:hover {
  background: rgba(98, 255, 240, 0.08);
}

.copied-label {
  display: none;
  color: var(--green);
}

.contract-row button.is-copied .copy-label {
  display: none;
}

.contract-row button.is-copied .copied-label {
  display: inline;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 610px;
  margin: 0;
  justify-self: end;
}

.image-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(98, 255, 240, 0.25);
  background: #02060f;
  box-shadow:
    0 0 70px rgba(0, 119, 255, 0.16),
    inset 0 0 50px rgba(0, 0, 0, 0.24);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, transparent 58%, rgba(40, 255, 189, 0.11)),
    linear-gradient(to top, rgba(0, 0, 0, 0.26), transparent 25%);
  pointer-events: none;
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 700ms ease;
}

.hero-visual:hover img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.02);
}

.frame-corner {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-color: var(--green);
}

.frame-corner--top {
  top: 14px;
  right: 14px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.frame-corner--bottom {
  bottom: 14px;
  left: 14px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-top: 1px solid var(--line);
  color: #64827e;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 42px;
  }

  h1 {
    font-size: clamp(3rem, 6.2vw, 4.2rem);
  }
}

@media (max-width: 780px) {
  .site-header,
  .hero,
  footer {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .site-header {
    min-height: 78px;
  }

  .brand {
    width: 98px;
    height: 34px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    min-width: auto;
    padding-inline: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 48px 56px;
  }

  .hero-visual {
    grid-row: 1;
    max-width: min(78vw, 480px);
    justify-self: center;
  }

  h1 {
    font-size: clamp(2.95rem, 9vw, 4.2rem);
  }

  .contract-block {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .site-header,
  .hero,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-links a {
    padding-inline: 7px;
    font-size: 0.72rem;
  }

  .hero {
    gap: 38px;
    padding-top: 30px;
  }

  .hero-visual figcaption {
    font-size: 0.62rem;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.2rem, 9.2vw, 2.8rem);
    letter-spacing: -0.07em;
    line-height: 0.88;
  }

  .description {
    margin-top: 25px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 15px;
    margin-top: 26px;
  }

  .primary-action {
    width: 100%;
  }

  .contract-block {
    margin-top: 30px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding-block: 20px;
  }

  footer p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
