*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #050505;
  --navy-soft: #0c0c0c;
  --navy-mid: #141414;
  --gold: #d4af37;
  --gold-bright: #f0d078;
  --gold-deep: #b8860b;
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.58);
  --line: rgba(212, 175, 55, 0.22);
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1080px, 90vw);
  margin: 0 auto;
}

.center { text-align: center; }
.sub { color: var(--muted); }

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  background: var(--navy);
}

.logo-name {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: none;
  color: #fff;
}

.logo-ticker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.82;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold-bright);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.nav-icon:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--gold);
}

/* ── Hero — full-bleed banner ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  animation: banner-ken 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.62) 42%, rgba(5, 5, 5, 0.28) 70%, rgba(5, 5, 5, 0.45) 100%),
    linear-gradient(to top, rgba(5, 5, 5, 0.92) 0%, transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 7rem;
  animation: hero-rise 0.95s ease-out both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes banner-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  animation: hero-rise 0.95s ease-out 0.1s both;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 11vw, 6.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #fff;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 40px rgba(212, 175, 55, 0.25);
  animation: hero-rise 0.95s ease-out 0.18s both;
}

.hero h1 span {
  color: var(--gold-bright);
}

.hero-ticker {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold-bright);
  margin-bottom: 1.15rem;
  animation: hero-rise 0.95s ease-out 0.26s both;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(244, 241, 234, 0.72);
  max-width: min(440px, 100%);
  margin-bottom: 1.9rem;
  animation: hero-rise 0.95s ease-out 0.34s both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: hero-rise 0.95s ease-out 0.42s both;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-lg { padding: 1.05rem 2rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.78rem; }
.btn-sm.copied { opacity: 0.65; }

/* ── Ticker bar ── */
.ticker-bar {
  overflow: hidden;
  padding: 0.8rem 0;
  background: var(--navy-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-inner {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.35);
}

.ticker-inner span:nth-child(odd) { color: var(--gold); }

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ── Blocks ── */
.block {
  padding: 5.5rem 0;
  background: var(--navy);
}

.block-deep {
  background: var(--navy-soft);
}

.block-deep#features,
.block-deep#chart {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08), transparent 55%),
    var(--navy-soft);
}

.block-head {
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.block-head.center {
  margin-left: auto;
  margin-right: auto;
}

.tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.block h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: none;
  margin-bottom: 0.6rem;
  color: #fff;
}

.block h2 em {
  font-style: normal;
  color: var(--gold-bright);
}

.block-head p { color: var(--muted); }

/* ── Banner showcase ── */
.block-banner {
  padding: 0;
  overflow: hidden;
}

.banner-stage {
  width: 100%;
  max-height: min(52vh, 480px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.banner-stage img {
  width: 100%;
  height: min(52vh, 480px);
  object-fit: cover;
  object-position: center;
  animation: banner-drift 14s ease-in-out infinite alternate;
}

@keyframes banner-drift {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.04) translateY(-1.5%); }
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
}

.features li {
  padding: 1.85rem 1.5rem;
  background: rgba(5, 5, 5, 0.55);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.08);
}

.features h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
  color: #fff;
}

.features p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.about-img-wrap {
  aspect-ratio: 1;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 8px rgba(212, 175, 55, 0.08),
    0 0 48px rgba(212, 175, 55, 0.18),
    0 20px 50px rgba(0, 0, 0, 0.45);
  animation: logo-bob 3.8s ease-in-out infinite;
}

@keyframes logo-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-text strong { color: var(--gold-bright); }

.meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.meta dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.meta dd {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

/* ── Contract ── */
.contract-wrap { max-width: 640px; margin: 0 auto; }

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--navy-soft);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.ca-box code {
  flex: 1;
  font-family: ui-monospace, monospace;
  font-size: clamp(0.75rem, 2vw, 0.92rem);
  letter-spacing: 0.05em;
  word-break: break-all;
  color: var(--gold-bright);
}

.toast {
  text-align: center;
  min-height: 1.2rem;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.toast.show { opacity: 1; }

/* ── Chart ── */
.chart-box {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.chart-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.chart-iframe.hidden,
.chart-ph.hidden { display: none; }

.chart-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.chart-link {
  display: block;
  text-align: center;
  margin-top: 1.1rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.chart-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

@media (min-width: 1000px) {
  .chart-box { padding-bottom: 65%; }
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 2rem 0 2.5rem;
  border: 1px solid var(--line);
  background: var(--navy-soft);
}

.steps li {
  padding: 1.75rem 1.25rem;
  border-right: 1px solid var(--line);
}

.steps li:last-child { border-right: none; }

.steps span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.steps h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: #fff;
}

.steps p {
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  background: #000;
  color: #fff;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer-brand span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.65;
  max-width: 620px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .about-grid,
  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .steps li {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .steps li:last-child { border-bottom: none; }

  .hero {
    align-items: center;
    text-align: center;
    padding: 6.5rem 0 3.5rem;
  }

  .hero-inner {
    max-width: none;
    margin: 0 auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-veil {
    background:
      linear-gradient(to top, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.72) 48%, rgba(5, 5, 5, 0.5) 100%);
  }

  .hero-lead {
    padding: 0 0.25rem;
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.97);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle { display: flex; }

  .logo-name { font-size: 1.05rem; }

  .ca-box { flex-direction: column; }
  .ca-box .btn { width: 100%; justify-content: center; }

  .meta { flex-wrap: wrap; gap: 1.5rem; }

  .banner-stage,
  .banner-stage img {
    max-height: 280px;
    height: 280px;
  }
}
