:root {
  --bg: #090a04;
  --bg2: #13150a;
  --text: #f4f6e4;
  --quiet: #8f937a;
  --line: #2a2d17;
  --accent: #deff1a;
  --accent-hot: #f4ff9a;
  --pad: clamp(20px, 5.2vw, 80px);
  --header: 88px;
  --sans: "Plex", "IBM Plex Sans", sans-serif;
  --mono: "Plex Mono", "IBM Plex Mono", ui-monospace, monospace;
}

@font-face {
  font-family: Plex;
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

.tag {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--quiet);
}
.tag.acc { color: var(--accent); }
.say {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn.solid { background: var(--accent); color: var(--bg); }
.btn.solid:hover { background: var(--accent-hot); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand img { width: 112px; height: auto; }
.brand .say { font-size: 12px; white-space: nowrap; }
.links { display: flex; gap: 40px; }
.links a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}
.links a:hover, .links a[aria-current="true"] { color: var(--accent); }
.nav-buy { height: 44px; }
.menu-btn {
  display: none;
  height: 44px;
  padding: 0 2px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.panel {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 8px var(--pad) 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.panel a.item {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.panel a.item:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: calc(100svh - var(--header));
  padding: 48px var(--pad);
  background: radial-gradient(ellipse at 76% 48%, var(--bg2), var(--bg) 62%);
}
.hero-mark {
  width: min(560px, 100%);
  height: auto;
  animation: hum 3.6s steps(1, end) infinite;
}
.hero .say { font-size: clamp(22px, 2.1vw, 30px); margin-top: 26px; }
.hero p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--quiet);
  max-width: 28em;
  margin: 28px 0 40px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ca {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  max-width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
  text-align: left;
}
.ca[data-ready="true"] { cursor: pointer; }
.ca[data-ready="true"]:hover { border-color: var(--accent); }
.ca b { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.ca .copied { color: var(--accent); }
.hero-visual {
  width: min(660px, 100%);
  margin-left: auto;
  animation: lift 8s ease-in-out infinite;
}

.tape {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  height: 64px;
  display: flex;
  align-items: center;
}
.tape-track {
  display: flex;
  width: max-content;
  animation: tick 36s linear infinite;
}
.tape span {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-right: 48px;
  white-space: nowrap;
}
.tape span:nth-child(odd) { color: var(--accent); }

main > section:not(.hero) {
  padding: 120px var(--pad);
  border-bottom: 1px solid var(--line);
}
h2 {
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
  max-width: 16em;
}
h2 em { font-style: normal; color: var(--quiet); }

.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.cols article { padding: 30px 32px 0 0; }
.cols h3, .steps h3 {
  font-weight: 500;
  font-size: 24px;
  margin: 14px 0 10px;
}
.cols p, .steps p {
  margin: 0;
  color: var(--quiet);
  font-size: 17px;
  line-height: 1.5;
}

.nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.nums div { padding: 34px 24px 0 0; }
.nums b {
  display: block;
  font-weight: 500;
  font-size: clamp(36px, 3.6vw, 54px);
  letter-spacing: -0.03em;
  margin-top: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.steps article {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 32px;
  min-height: 230px;
  background: var(--bg2);
}
.steps h3 { font-size: 26px; margin-top: auto; margin-bottom: 10px; }

footer {
  padding: 90px var(--pad) 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-mark { width: min(360px, 78vw); height: auto; }
footer .say { font-size: 18px; }
.row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 36px;
}
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a:hover { color: var(--accent); }

.miss {
  min-height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px var(--pad);
  background: radial-gradient(ellipse at 70% 40%, var(--bg2), var(--bg) 64%);
}
.miss h1 {
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  margin: 18px 0 28px;
}

@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes hum {
  0%, 18%, 22%, 54%, 58%, 100% { opacity: 1; }
  20% { opacity: 0.72; }
  56% { opacity: 0.84; }
}
@keyframes lift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 1080px) {
  .links, .nav-buy { display: none; }
  .menu-btn { display: inline-flex; }
  header.open .panel { display: flex; }
  .brand .say { display: none; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 28px;
  }
  .hero-visual { margin: 12px auto 0; }
  main > section:not(.hero) { padding: 80px var(--pad); }
  .cols, .steps { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; }
  .cols article { padding-right: 0; }
  .steps article { min-height: 0; }
  .steps h3 { margin-top: 48px; }
  .row { flex-direction: column; align-items: center; text-align: center; }
  .socials { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark, .hero-visual, .tape-track { animation: none; }
}
