:root {
  --blue: #1673df;
  --blue-deep: #0a3f91;
  --blue-soft: #eaf5ff;
  --ink: #111827;
  --muted: #5f6f86;
  --paper: #ffffff;
  --line: rgba(17, 24, 39, 0.1);
  --mint: #b9f4d2;
  --amber: #ffe29a;
  --shadow-soft: 0 24px 70px rgba(10, 63, 145, 0.12);
  --shadow-crisp: 0 14px 36px rgba(10, 63, 145, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f2f8ff 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(10, 63, 145, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 63, 145, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 78%);
}

#volatility-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(22, 115, 223, 0.2));
}

.brand-name,
.brand-symbol {
  display: block;
  line-height: 1.05;
}

.brand-name {
  font-size: 1rem;
  font-weight: 900;
}

.brand-symbol {
  margin-top: 4px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.status-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: lowercase;
}

.status-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(10, 63, 145, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-crisp);
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  min-height: calc(100vh - 76px);
  padding: clamp(34px, 5vw, 62px) 0 70px;
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(10, 63, 145, 0.12);
  border-radius: 999px;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: lowercase;
  background: rgba(255, 255, 255, 0.82);
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  content: "";
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(185, 244, 210, 0.42);
}

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

h1 {
  width: min(100%, 8.4em);
  max-width: 100%;
  margin: 18px 0 10px;
  font-size: clamp(4.2rem, 10.5vw, 8.2rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.ticker {
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 13px;
  border-radius: 10px;
  color: var(--paper);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1;
  background: var(--blue);
  box-shadow: 0 18px 36px rgba(22, 115, 223, 0.18);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 20px;
  color: #253349;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.26;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.signal-list span {
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(10, 63, 145, 0.11);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.68);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

button:focus-visible,
.action-link:focus-visible {
  outline: 3px solid rgba(22, 115, 223, 0.28);
  outline-offset: 3px;
}

.primary-button {
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(22, 115, 223, 0.22);
}

.primary-button:hover {
  background: var(--blue-deep);
}

.secondary-button {
  color: var(--blue-deep);
  border: 1px solid rgba(10, 63, 145, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-crisp);
}

.contract-section {
  margin: 0 0 18px;
}

.contract-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(10, 63, 145, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-crisp);
}

.contract-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: lowercase;
}

#ca-text {
  display: block;
  max-width: 100%;
  color: var(--blue-deep);
  font-family: "Courier New", monospace;
  font-size: clamp(0.86rem, 1.8vw, 1.05rem);
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.copy-button {
  white-space: nowrap;
}

.chart-section {
  padding: 36px 0 64px;
}

.chart-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.chart-heading h2 {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 2px 0 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

#dexscreener-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 125%;
  overflow: hidden;
  border: 1px solid rgba(10, 63, 145, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

#dexscreener-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
}

.coin-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 500px;
  isolation: isolate;
}

.coin-stage::before {
  position: absolute;
  z-index: -2;
  width: min(92%, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(10, 63, 145, 0.09);
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 0 0 28px rgba(22, 115, 223, 0.035);
}

.pulse-ring {
  position: absolute;
  z-index: -1;
  width: min(74%, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(22, 115, 223, 0.2);
  border-radius: 999px;
  animation: pulse 4.2s ease-in-out infinite;
}

.hero-coin {
  width: min(72vw, 390px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow-soft));
  animation: floatCoin 5s ease-in-out infinite;
}

.price-card {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 136px;
  padding: 13px 15px;
  border: 1px solid rgba(10, 63, 145, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-crisp);
  backdrop-filter: blur(16px);
}

.price-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: lowercase;
}

.price-card strong {
  color: var(--blue-deep);
  font-size: 1.08rem;
  line-height: 1;
}

.price-card-top {
  top: 13%;
  right: 4%;
}

.price-card-bottom {
  bottom: 12%;
  left: 4%;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 10px 0 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow-crisp);
}

.signal-item {
  min-height: 118px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.signal-item span,
.panel-number {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: lowercase;
}

.signal-item strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1;
}

.story-section {
  padding: 0 0 78px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(240px, 0.26fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}

.section-heading h2 {
  grid-column: 1 / -1;
  max-width: 780px;
  margin: 4px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-panel {
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(10, 63, 145, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-crisp);
}

.accent-panel {
  color: var(--paper);
  background: var(--blue-deep);
}

.panel-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 42px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.accent-panel .panel-number {
  color: var(--ink);
  background: var(--amber);
}

.story-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.story-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.accent-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.manifesto-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: end;
  padding: 78px 0 84px;
  border-top: 1px solid var(--line);
}

.manifesto-section h2 {
  margin: 18px 0 0;
  font-size: clamp(2.15rem, 5.6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.manifesto-section p {
  margin-bottom: 0;
  color: #28364b;
  font-size: clamp(1.03rem, 1.7vw, 1.2rem);
  font-weight: 700;
  line-height: 1.48;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.site-footer p {
  max-width: 850px;
  margin-bottom: 0;
}

.site-footer span {
  color: var(--blue-deep);
  font-weight: 900;
  white-space: nowrap;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 16px;
  border: 1px solid rgba(10, 63, 145, 0.14);
  border-radius: 8px;
  color: var(--blue-deep);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(10, 63, 145, 0.16);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCoin {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1.5deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotate(1.5deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.52;
  }

  50% {
    transform: scale(1.07);
    opacity: 0.16;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 1400px) {
  #dexscreener-embed {
    padding-bottom: 65%;
  }
}

@media (max-width: 940px) {
  .hero-section,
  .manifesto-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 32px;
  }

  .coin-stage {
    min-height: 420px;
    order: -1;
  }

  .signal-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 58px;
  }

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

  .story-panel {
    min-height: auto;
  }

  .panel-number {
    margin-bottom: 26px;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    gap: 14px;
    min-height: 66px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .status-nav {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 3.55rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  button,
  .action-link {
    width: 100%;
  }

  .coin-stage {
    min-height: 320px;
  }

  .hero-coin {
    width: min(76vw, 300px);
  }

  .price-card {
    min-width: 112px;
    padding: 10px 11px;
  }

  .price-card strong {
    font-size: 0.96rem;
  }

  .signal-band {
    grid-template-columns: 1fr;
    margin-bottom: 44px;
  }

  .contract-card {
    grid-template-columns: 1fr;
  }

  .chart-section {
    padding: 28px 0 46px;
  }

  .chart-heading {
    display: block;
  }

  .signal-item {
    min-height: 92px;
    padding: 18px;
  }

  .story-section {
    padding-bottom: 52px;
  }

  .section-heading {
    display: block;
  }

  .story-panel {
    padding: 21px;
  }

  .manifesto-section {
    padding: 52px 0 58px;
  }

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