:root {
  --bg: #030915;
  --bg-soft: #07172f;
  --panel: rgba(7, 23, 47, 0.84);
  --panel-strong: #0a1f3d;
  --line: rgba(82, 167, 255, 0.35);
  --blue: #2f9cff;
  --blue-bright: #71c7ff;
  --white: #f5fbff;
  --muted: #9ab5d0;
  --gold: #f4bd43;
  --danger: #ff6c8d;
  --shadow: 0 0 32px rgba(35, 135, 255, 0.22);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, rgba(35, 135, 255, 0.24), transparent 36rem),
    linear-gradient(180deg, #020711 0%, var(--bg) 55%, #020611 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(49, 150, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 150, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: -1;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    #fff 4px
  );
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 9, 21, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(47, 156, 255, 0.4);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}


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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--white);
}

.nav .nav-cta {
  color: var(--white);
  padding: 10px 15px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  box-shadow: inset 0 0 20px rgba(47, 156, 255, 0.12);
}

.menu-button {
  display: none;
  color: var(--white);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 74px));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 46%, rgba(47, 156, 255, 0.28), transparent 30rem),
    radial-gradient(circle at 12% 18%, rgba(26, 103, 205, 0.18), transparent 28rem),
    linear-gradient(135deg, #020711 0%, #06162d 48%, #020813 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(66, 158, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 158, 255, 0.11) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 82%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -44% 35%;
  height: 72%;
  transform: perspective(620px) rotateX(64deg);
  transform-origin: bottom;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(58, 151, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 151, 255, 0.28) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 110px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: auto;
  margin: 0;
}

.hero-profile-card {
  position: relative;
  width: min(100%, 540px);
  justify-self: end;
  aspect-ratio: 1;
  padding: clamp(8px, 1vw, 14px);
  border: 1px solid rgba(113, 199, 255, 0.72);
  border-radius: 30px;
  background: rgba(4, 15, 34, 0.82);
  box-shadow:
    0 0 0 1px rgba(47, 156, 255, 0.13),
    0 0 42px rgba(47, 156, 255, 0.33),
    0 30px 90px rgba(0, 0, 0, 0.58);
  isolation: isolate;
}

.hero-profile-card::before,
.hero-profile-card::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  z-index: 2;
  pointer-events: none;
}

.hero-profile-card::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid var(--blue-bright);
  border-left: 3px solid var(--blue-bright);
  border-radius: 28px 0 0 0;
}

.hero-profile-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid var(--blue-bright);
  border-bottom: 3px solid var(--blue-bright);
  border-radius: 0 0 28px 0;
}

.hero-profile-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-profile-glow {
  position: absolute;
  inset: 10%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(47, 156, 255, 0.38);
  filter: blur(56px);
}


.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-bright);
  font-family: "Courier New", ui-monospace, monospace;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}


h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 650px;
  font-size: clamp(2.6rem, 7vw, 6.3rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 5px 40px rgba(0, 0, 0, 0.7);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 600px;
  color: #c7dcf0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #001327;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  box-shadow: 0 0 30px rgba(47, 156, 255, 0.34);
}

.button-secondary {
  color: var(--white);
  border-color: var(--line);
  background: rgba(7, 23, 47, 0.76);
}

.button.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.contract-row {
  max-width: 590px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.contract-row span {
  color: var(--blue-bright);
  font-weight: 900;
}

.contract-row code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-strip {
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #061326;
  color: var(--blue-bright);
  font-family: "Courier New", monospace;
  font-weight: 900;
  white-space: nowrap;
}

.ticker-strip span {
  padding: 18px 34px;
  border-right: 1px solid var(--line);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-heading {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.section-number {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: "Courier New", monospace;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(47, 156, 255, 0.08);
}

.panel,
.stat-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(12, 37, 72, 0.83), rgba(5, 15, 32, 0.9));
  box-shadow: var(--shadow);
}

.lore-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}

.story-panel {
  padding: clamp(26px, 5vw, 58px);
  font-size: 1.08rem;
  color: #c3d7e9;
}

.story-panel p:last-child {
  margin-bottom: 0;
}

.story-final {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  overflow: hidden;
}

.quote-panel img {
  width: min(280px, 85%);
  border-radius: 18px;
  box-shadow: 0 0 38px rgba(47, 156, 255, 0.26);
}

blockquote {
  margin: 25px 0 0;
  color: var(--blue-bright);
  font-family: "Courier New", monospace;
  font-size: 1.15rem;
  font-weight: 900;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  min-height: 185px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stat-card strong {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-card small {
  margin-top: 10px;
  color: var(--muted);
}

.stat-label {
  margin-bottom: auto;
  color: var(--blue-bright);
  font-family: "Courier New", monospace;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.contract-panel {
  margin-top: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contract-panel code {
  display: block;
  max-width: min(760px, 70vw);
  color: var(--white);
  overflow-wrap: anywhere;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  padding: 28px;
}

.step-card > span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--blue-bright);
  font-family: "Courier New", monospace;
  font-size: 1.8rem;
  font-weight: 900;
}

.step-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.center-action {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 22px;
}

.checklist,
.warning-panel {
  padding: clamp(25px, 4vw, 44px);
}

.checklist > div {
  display: flex;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(82, 167, 255, 0.18);
}

.checklist > div:last-child {
  border-bottom: 0;
}

.checklist span {
  color: var(--blue-bright);
  font-weight: 900;
}

.checklist p {
  margin: 0;
  color: #c5d9eb;
}

.warning-panel {
  border-color: rgba(255, 108, 141, 0.34);
  background: linear-gradient(145deg, rgba(58, 17, 35, 0.72), rgba(11, 13, 27, 0.94));
}

.warning-panel .eyebrow {
  color: #ff9db4;
}

.warning-panel p:last-child {
  color: #d8bcc5;
  margin-bottom: 0;
}

.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 100px;
  padding: 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 156, 255, 0.23), transparent 26rem),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.final-cta img {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 15px;
}

.final-cta h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

footer {
  padding: 36px clamp(20px, 5vw, 70px);
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  background: #020711;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--white);
}

footer p {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  background: rgba(5, 19, 40, 0.96);
  box-shadow: var(--shadow);
  transform: translateY(150%);
  opacity: 0;
  transition: 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(3, 9, 21, 0.98);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    width: min(760px, calc(100% - 36px));
    grid-template-columns: 1fr;
    padding: 58px 0 70px;
  }

  .hero-content {
    order: 1;
  }

  .hero-profile-card {
    order: 2;
    width: min(100%, 500px);
    justify-self: center;
  }

  .lore-grid,
  .transparency-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    grid-template-columns: auto 1fr;
  }

  .final-cta .button {
    grid-column: 1 / -1;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-grid {
    width: min(100% - 28px, 520px);
    padding: 42px 0 54px;
    gap: 32px;
  }

  .hero-profile-card {
    border-radius: 22px;
  }

  .hero-profile-card img {
    border-radius: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .contract-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .contract-panel code {
    max-width: 100%;
  }

  .section-heading {
    gap: 14px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .final-cta img {
    margin: 0 auto;
  }
}
