@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #f7f3e9;
  --muted: #92959c;
  --dim: #5d626c;
  --bg: #08090d;
  --panel: #101116;
  --panel-2: #15171e;
  --line: rgba(247, 243, 233, 0.13);
  --yellow: #f8d53f;
  --yellow-hot: #ffed72;
  --cyan: #62edff;
  --orange: #fb9d55;
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'Space Grotesk', 'Arial Narrow', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 64px, 1440px);
  height: 82px;
  margin: 0 auto;
  padding: 0 2px;
  background: linear-gradient(180deg, rgba(8,9,13,.96), rgba(8,9,13,.78), transparent);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.brand-mark { width: 39px; height: 39px; overflow: hidden; border: 1px solid rgba(248,213,63,.45); border-radius: 50%; background: #14100a; box-shadow: 0 0 24px rgba(248,213,63,.12); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { letter-spacing: -.04em; font-size: 16px; font-weight: 700; }
.brand-copy strong span { color: var(--yellow); }
.brand-copy small { margin-top: 6px; color: var(--dim); font: 8px var(--mono); letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 32px; margin-left: 80px; }
.nav-link { position: relative; padding: 9px 0; color: var(--muted); font: 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; transition: color .25s ease; }
.nav-link span { margin-left: 8px; color: var(--dim); font-size: 9px; }
.nav-link::after { position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--yellow); content: ''; transition: width .25s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.header-buy { display: inline-flex; align-items: center; gap: 16px; min-width: 142px; justify-content: center; padding: 11px 13px 11px 16px; border: 1px solid rgba(248,213,63,.55); border-radius: 99px; color: var(--yellow); font: 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; transition: background .25s ease, color .25s ease, transform .25s ease; }
.header-buy:hover { transform: translateY(-2px); background: var(--yellow); color: var(--bg); }
.header-buy-arrow { font-size: 16px; line-height: 10px; }

.section-shell { width: min(100% - 64px, 1440px); margin-inline: auto; }
.hero { position: relative; display: grid; grid-template-columns: minmax(350px, .88fr) minmax(500px, 1.12fr); gap: clamp(40px, 7vw, 124px); min-height: 900px; padding-top: 190px; padding-bottom: 100px; }
.hero-copy { position: relative; z-index: 2; padding-top: 40px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--dim); font: 10px var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.eyebrow-dot--cyan { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.eyebrow-line { display: block; width: 46px; height: 1px; background: var(--dim); }
.hero-kicker { margin: 66px 0 20px; color: var(--yellow); font: 10px var(--mono); letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 620px; margin-bottom: 24px; font-size: clamp(68px, 8.5vw, 132px); font-weight: 600; letter-spacing: -.085em; line-height: .77; }
h1 em, h2 em { color: var(--yellow); font-style: normal; }
.hero-text { max-width: 370px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; flex-direction: column; gap: 8px; width: min(100%, 390px); margin-top: 42px; }
.action-button { display: grid; grid-template-columns: 38px 1fr 22px; align-items: center; gap: 10px; min-height: 67px; padding: 8px 15px 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.025); text-align: left; cursor: pointer; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.action-button:hover { transform: translateX(5px); border-color: rgba(248,213,63,.6); background: rgba(248,213,63,.08); }
.action-button--primary { border-color: var(--yellow); background: var(--yellow); color: var(--bg); }
.action-button--primary:hover { border-color: var(--yellow-hot); background: var(--yellow-hot); }
.action-button > img, .social-icon { display: grid; place-items: center; width: 38px; height: 38px; object-fit: contain; border-radius: 5px; }
.social-icon--x { background: #f0ede4; color: var(--bg); }
.social-icon--telegram { border: 1px solid rgba(98,237,255,.38); background: rgba(98,237,255,.08); color: var(--cyan); }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.action-button span:not(.social-icon) { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.action-button small { color: var(--dim); font: 8px var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.action-button--primary small { color: rgba(8,9,13,.6); }
.action-button b { justify-self: end; color: var(--dim); font-size: 17px; font-weight: 400; }
.action-button--primary b { color: var(--bg); }
.hero-meta { display: flex; gap: 26px; margin-top: 34px; color: var(--dim); font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.hero-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.hero-art { position: relative; min-height: 660px; margin-top: 10px; }
.art-grid { position: absolute; inset: 42px 0 15px; opacity: .45; background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px); background-size: 43px 43px; mask-image: linear-gradient(90deg, transparent 0, black 20%, black 80%, transparent 100%); }
.art-orbit { position: absolute; left: 50%; top: 49%; width: 84%; aspect-ratio: 1; border: 1px solid rgba(98,237,255,.32); border-radius: 50%; transform: translate(-50%, -50%) rotate(-24deg); }
.art-orbit::after { position: absolute; left: 3%; top: 9%; width: 10px; height: 10px; border: 2px solid var(--cyan); border-radius: 50%; background: var(--bg); box-shadow: 0 0 20px var(--cyan); content: ''; }
.art-orbit--two { width: 103%; border-color: rgba(248,213,63,.23); transform: translate(-50%, -50%) rotate(38deg) scaleY(.38); }
.art-orbit--two::after { left: auto; top: auto; right: 6%; bottom: 5%; border-color: var(--yellow); box-shadow: 0 0 18px var(--yellow); }
.portrait-frame { position: absolute; top: 7%; left: 50%; width: min(85%, 610px); aspect-ratio: 1 / 1.08; overflow: hidden; border: 1px solid rgba(248,213,63,.38); border-radius: 47% 47% 7px 7px; background: #6f9dca; box-shadow: 22px 22px 0 rgba(248,213,63,.06), 0 0 90px rgba(248,213,63,.12); transform: translateX(-50%) rotate(1.3deg); }
.portrait-frame::before { position: absolute; inset: 10px; z-index: 1; border: 1px solid rgba(255,255,255,.21); border-radius: inherit; content: ''; pointer-events: none; }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 23%; filter: saturate(.9) contrast(1.05); }
.portrait-glow { position: absolute; z-index: 1; right: 4%; bottom: 4%; width: 40%; height: 32%; background: var(--yellow); opacity: .17; filter: blur(50px); }
.portrait-stamp { position: absolute; z-index: 2; right: 18px; top: 20px; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(8,9,13,.7); border-radius: 50%; background: var(--yellow); color: var(--bg); font-size: 24px; line-height: .7; transform: rotate(12deg); }
.portrait-stamp small { font: 8px var(--mono); letter-spacing: .06em; }
.art-label { position: absolute; z-index: 3; color: rgba(247,243,233,.65); font: 9px var(--mono); letter-spacing: .13em; }
.art-label--top { right: 10px; top: 12px; }
.art-label--bottom { left: 1%; bottom: 10%; display: flex; flex-direction: column; color: var(--yellow); font-size: 26px; letter-spacing: -.05em; line-height: .8; }
.art-label--bottom span { color: var(--ink); }
.art-label--bottom small { margin-top: 12px; color: var(--dim); font-size: 8px; letter-spacing: .16em; }
.orbit-chip { position: absolute; right: 1%; bottom: 14%; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 99px; background: rgba(8,9,13,.76); color: var(--dim); font: 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.orbit-chip strong { color: var(--cyan); font-weight: 400; }
.pulse-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--yellow); color: var(--bg); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 14px 0; animation: marquee 22s linear infinite; font: 11px var(--mono); letter-spacing: .18em; white-space: nowrap; }
.marquee-track b { font-size: 18px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

.roadmap { padding-top: 154px; padding-bottom: 170px; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.section-intro h2 { margin: 32px 0 0; font-size: clamp(52px, 7.1vw, 100px); font-weight: 600; letter-spacing: -.08em; line-height: .82; }
.section-intro > p { max-width: 320px; margin: 0 8% 5px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.roadmap-line { position: relative; height: 1px; margin-top: 86px; background: linear-gradient(90deg, var(--yellow), rgba(248,213,63,.05)); }
.roadmap-line::before { position: absolute; left: 0; bottom: -5px; width: 11px; height: 11px; border: 1px solid var(--yellow); border-radius: 50%; background: var(--bg); content: ''; }
.roadmap-line span { position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 16px var(--yellow); }
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.phase-card { position: relative; min-height: 340px; padding: 22px 21px 20px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.phase-card:hover { transform: translateY(-5px); border-color: rgba(248,213,63,.44); background: rgba(248,213,63,.055); }
.phase-card--active { border-color: rgba(248,213,63,.62); }
.phase-top { display: flex; align-items: center; justify-content: space-between; color: var(--dim); font: 9px var(--mono); letter-spacing: .1em; }
.phase-top b { padding: 4px 6px; border: 1px solid var(--line); color: var(--yellow); font-size: 8px; font-weight: 400; }
.phase-card--active .phase-top b { border-color: rgba(248,213,63,.4); background: var(--yellow); color: var(--bg); }
.phase-number { margin: 68px 0 19px; color: rgba(248,213,63,.22); font: 52px var(--mono); letter-spacing: -.14em; }
.phase-card h3 { margin-bottom: 11px; font-size: 22px; font-weight: 500; letter-spacing: -.05em; }
.phase-card p { max-width: 215px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.phase-tag { position: absolute; bottom: 20px; left: 21px; color: var(--yellow); font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }

.terminal { padding-bottom: 150px; }
.terminal-intro { margin-bottom: 68px; }
.terminal-window { overflow: hidden; border: 1px solid rgba(98,237,255,.3); border-radius: 8px; background: #0d1116; box-shadow: 0 0 60px rgba(98,237,255,.08); }
.terminal-bar { display: flex; align-items: center; justify-content: space-between; min-height: 53px; padding: 0 17px; border-bottom: 1px solid rgba(98,237,255,.17); background: #111920; }
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 7px; height: 7px; border-radius: 50%; background: #53606a; }
.terminal-dots span:first-child { background: #fe6a64; }
.terminal-dots span:nth-child(2) { background: #f8d53f; }
.terminal-dots span:nth-child(3) { background: #53d994; }
.terminal-title { color: #a7b9bf; font: 10px var(--mono); letter-spacing: .04em; }
.terminal-lock { margin-right: 7px; color: var(--cyan); }
.terminal-open { color: var(--cyan); font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.terminal-body { position: relative; display: grid; min-height: 555px; background: #080c10; }
.terminal-body::before { position: absolute; z-index: 1; inset: 0; background: repeating-linear-gradient(0deg, transparent 0, transparent 48px, rgba(98,237,255,.045) 49px), linear-gradient(90deg, transparent 0, rgba(98,237,255,.025) 50%, transparent 100%); content: ''; pointer-events: none; }
.terminal-body iframe { position: relative; grid-area: 1 / 1; z-index: 2; width: 100%; height: 100%; min-height: 555px; border: 0; opacity: .82; }
.terminal-fallback { position: relative; grid-area: 1 / 1; z-index: 3; display: flex; align-items: center; flex-direction: column; gap: 10px; width: 100%; min-height: 555px; padding: 26px 24px; border: 1px solid rgba(98,237,255,.28); background: rgba(8,12,16,.92); text-align: center; }
.terminal-fallback.is-hidden { display: none; }
.fallback-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); font-size: 22px; }
.terminal-fallback strong { font-size: 18px; font-weight: 500; }
.terminal-fallback span { color: var(--muted); font: 11px var(--mono); line-height: 1.6; }
.terminal-fallback code, .terminal-intro code { color: var(--cyan); font-family: var(--mono); }
.terminal-fallback a { margin-top: 8px; color: var(--yellow); font: 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.terminal-status { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid rgba(98,237,255,.17); color: #70828a; font: 9px var(--mono); letter-spacing: .06em; }
.terminal-status span { display: flex; align-items: center; gap: 7px; }
.terminal-status span:first-child { color: var(--cyan); }
.terminal-status i { width: 5px; height: 5px; border-radius: 50%; background: #53d994; box-shadow: 0 0 7px #53d994; }
.terminal-status b { color: #b4c0c0; font-weight: 400; }

.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 112px; border-top: 1px solid var(--line); color: var(--dim); font: 9px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; letter-spacing: -.03em; text-transform: none; }
.footer-brand img { width: 24px; height: 24px; object-fit: contain; }
.footer-code { color: var(--yellow); }
.toast { position: fixed; z-index: 40; right: 22px; bottom: 22px; max-width: 320px; padding: 12px 15px; border: 1px solid rgba(98,237,255,.4); background: #111920; color: var(--cyan); font: 10px var(--mono); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .site-header, .section-shell { width: min(100% - 38px, 760px); }
  .main-nav { gap: 18px; margin-left: 20px; }
  .nav-link span { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 142px; }
  .hero-copy { padding-top: 20px; }
  .hero-art { min-height: 690px; margin-top: -40px; }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 30px); height: 68px; }
  .brand-copy small, .header-buy span:first-child { display: none; }
  .brand { min-width: 48px; }
  .main-nav { gap: 14px; margin-left: 0; }
  .nav-link { font-size: 9px; }
  .header-buy { min-width: 42px; padding: 9px 11px; }
  .section-shell { width: calc(100% - 30px); }
  .hero { min-height: auto; padding-top: 116px; padding-bottom: 72px; }
  h1 { font-size: clamp(62px, 20vw, 100px); }
  .hero-kicker { margin-top: 50px; font-size: 8px; }
  .hero-actions { margin-top: 30px; }
  .hero-meta { flex-direction: column; gap: 9px; }
  .hero-art { min-height: 440px; margin: 26px -15px 0; }
  .portrait-frame { width: 78%; }
  .art-label--bottom { left: 5%; bottom: 6%; font-size: 18px; }
  .orbit-chip { right: 5%; bottom: 8%; font-size: 7px; }
  .roadmap { padding-top: 92px; padding-bottom: 110px; }
  .section-intro { align-items: flex-start; flex-direction: column; gap: 30px; }
  .section-intro > p { margin: 0; }
  .section-intro h2 { font-size: clamp(54px, 16vw, 82px); }
  .roadmap-line { margin-top: 50px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .phase-card { min-height: 270px; }
  .phase-number { margin-top: 40px; }
  .terminal { padding-bottom: 90px; }
  .terminal-intro { margin-bottom: 40px; }
  .terminal-body { min-height: 430px; }
  .terminal-body iframe, .terminal-fallback { min-height: 430px; }
  .terminal-bar { gap: 12px; padding: 0 11px; }
  .terminal-title { font-size: 8px; }
  .terminal-open { font-size: 8px; }
  .terminal-status { align-items: flex-start; flex-direction: column; gap: 7px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 15px; padding: 28px 0; }
}

[hidden] { display: none !important; }
