:root {
  --bg: #0b0c1f;
  --text: #ece9ff;
  --text-soft: #d6d3f2;
  --text-muted: #c9c6e6;
  --text-dim: #8d8bb0;
  --blue: #9fb4ff;
  --amber: #ffb545;
  --amber-light: #ffd28a;
  --amber-hover: #ffc86a;
  --line: rgba(255, 255, 255, .12);
  --line-blue: rgba(159, 180, 255, .18);
  --gutter: clamp(20px, 5vw, 64px);
  --sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-light); }

img { max-width: 100%; }

.page { min-height: 100vh; background: var(--bg); overflow-x: hidden; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .08em;
  padding: 16px 26px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--amber);
  color: #1a1300;
  font-weight: 700;
  box-shadow: 0 0 32px rgba(255, 181, 69, .45);
}
.btn-primary:hover { background: var(--amber-hover); color: #1a1300; }
.btn-light {
  background: #fff;
  color: var(--bg);
  padding: 16px 28px;
}
.btn-light:hover { background: var(--amber-light); color: var(--bg); }
.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--bg) url('assets/logo-header-corner.jpg') left top / cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 31, .15) 0%, rgba(11, 12, 31, 0) 40%, rgba(11, 12, 31, .95) 100%);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #fff;
}
.brand:hover { color: #fff; }
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: #fff; }
.nav-cta {
  color: var(--bg) !important;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--amber-light); }

.hero-body {
  position: relative;
  margin-top: auto;
  padding: 0 var(--gutter) 64px;
  max-width: 760px;
}
.hero-body .eyebrow { margin-bottom: 18px; }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: .92;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 181, 69, .35);
}
.lede {
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
  color: var(--text-soft);
  max-width: 520px;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pair / token spec ---------- */
.pair {
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.pair h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: pretty;
}
.spec {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec-row-top { align-items: start; }
.spec dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.spec dd {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--mono);
}
.spec-addr {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  font-weight: 400;
}
.spec-addr code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber-light);
  word-break: break-all;
  line-height: 1.5;
}
.copy-btn {
  align-self: flex-start;
  background: none;
  border: 1px solid rgba(255, 181, 69, .5);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease;
}
.copy-btn:hover { background: rgba(255, 181, 69, .12); }
.copy-btn.copied { background: rgba(255, 181, 69, .18); border-color: var(--amber); }
.addr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.addr-actions .copy-btn { align-self: auto; }
.addr-link { display: inline-flex; align-items: center; line-height: 1.2; }
.addr-link:hover { color: var(--amber-light); }

.portrait {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-blue);
  box-shadow: 0 0 80px rgba(255, 181, 69, .12), inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Pipeline ---------- */
.pipeline {
  padding: 0 var(--gutter) clamp(56px, 8vw, 112px);
  max-width: 1240px;
  margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 8px;
}
.step {
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 18px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-num { color: var(--text-dim); }
.step-name { color: #fff; font-weight: 500; }
.step-final {
  border-color: rgba(255, 181, 69, .6);
  background: rgba(255, 181, 69, .08);
}
.step-final .step-num { color: var(--amber); }
.step-final .step-name { color: var(--amber-light); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 32px 24px;
  margin-top: 40px;
}
.feature h3 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 0 var(--gutter) clamp(56px, 8vw, 112px);
  max-width: 1240px;
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.gallery figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-blue);
  background: #12132b;
}
.gallery-wide { grid-column: 1 / -1; }
.gallery img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-wide img { aspect-ratio: 16 / 9; }

/* ---------- Closing ---------- */
.closing {
  position: relative;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  text-align: center;
  background: var(--bg) url('assets/lightcat-anime-sheet.jpg') center / cover no-repeat;
}
.closing-shade {
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 31, .82);
}
.closing-body {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  animation: drift 6s ease-in-out infinite;
}
.closing h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.closing p {
  margin: 0 0 32px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.5;
}

@keyframes drift {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .closing-body { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-disclaimer { max-width: 560px; text-wrap: pretty; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .hero { background-position: 70% top; }
}

@media (max-width: 520px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
}
