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

:root {
  --blue: #1a7cff;
  --blue-deep: #0d5fd4;
  --blue-ink: #063a8a;
  --blue-soft: #4da3ff;
  --sky: #6eb6ff;
  --white: #ffffff;
  --fog: rgba(255, 255, 255, 0.72);
  --muted: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.18);
  --display: "Syne", system-ui, sans-serif;
  --sans: "Sora", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--blue);
  color: var(--white);
  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(26, 124, 255, 0.88);
  backdrop-filter: blur(12px);
  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(--white);
  flex-shrink: 0;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.logo-name {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

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

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

.nav-links a:hover { opacity: 0.55; }

.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 rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: transform 0.15s, background 0.2s;
}

.nav-icon:hover {
  background: var(--white);
  color: var(--blue);
  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(--white);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
  background: var(--blue);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 78% 42%, rgba(255, 255, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 45% 40% at 12% 80%, rgba(6, 58, 138, 0.55), transparent 70%),
    linear-gradient(165deg, #4da3ff 0%, var(--blue) 42%, var(--blue-deep) 78%, #063a8a 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.hero-blob-1 {
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  right: 5%;
  top: 18%;
  background: rgba(255, 255, 255, 0.28);
  animation: blob-drift 10s ease-in-out infinite;
}

.hero-blob-2 {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  left: -8%;
  bottom: 5%;
  background: rgba(6, 58, 138, 0.5);
  animation: blob-drift 14s ease-in-out infinite reverse;
}

.hero-grid-dots {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
  animation: hero-rise 0.9s ease-out both;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 42vw, 480px);
  animation: hero-rise 0.9s ease-out 0.2s both;
}

.hero-stage {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-aura {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 42%, transparent 70%);
  animation: hero-pulse 3.8s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.hero-orbit-1 {
  width: 78%;
  height: 78%;
  animation: hero-spin 22s linear infinite;
}

.hero-orbit-2 {
  width: 92%;
  height: 92%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.28);
  animation: hero-spin 32s linear infinite reverse;
}

.hero-orbit-3 {
  width: 104%;
  height: 104%;
  border-color: rgba(255, 255, 255, 0.12);
  animation: hero-spin 48s linear infinite;
}

.hero-sketch {
  position: absolute;
  width: 88%;
  height: 88%;
  opacity: 0.9;
  animation: sketch-breathe 5s ease-in-out infinite;
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(255, 255, 255, 0.35),
    0 28px 50px rgba(6, 58, 138, 0.4);
  animation: logo-float 4.2s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floor-glow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 55%;
  height: 14%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.45), transparent 70%);
  filter: blur(8px);
  animation: floor-pulse 4.2s ease-in-out infinite;
}

.hero-spark {
  position: absolute;
  z-index: 3;
  width: 16px;
  height: 16px;
  background: var(--white);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  animation: spark-twinkle 2.4s ease-in-out infinite;
}

.hero-spark-1 { top: 10%; right: 18%; }
.hero-spark-2 { top: 28%; left: 8%; width: 11px; height: 11px; animation-delay: 0.7s; }
.hero-spark-3 { bottom: 22%; right: 10%; width: 13px; height: 13px; animation-delay: 1.3s; }

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

@keyframes hero-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.7; }
}

@keyframes hero-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes floor-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.12); }
}

@keyframes spark-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.95; }
  50% { transform: scale(1.35) rotate(18deg); opacity: 0.35; }
}

@keyframes sketch-breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.06); }
}

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

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  text-shadow: 0 8px 40px rgba(6, 58, 138, 0.45);
  animation: hero-rise 0.9s ease-out 0.2s both;
}

.hero-ticker {
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--white);
  margin-bottom: 1.1rem;
  animation: hero-rise 0.9s ease-out 0.28s both;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--fog);
  max-width: 420px;
  margin-bottom: 1.85rem;
  font-weight: 400;
  animation: hero-rise 0.9s ease-out 0.36s both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: hero-rise 0.9s ease-out 0.44s 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;
  border-radius: 999px;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn-light {
  background: var(--white);
  color: var(--blue-ink);
  border-color: var(--white);
}

.btn-light:hover {
  background: #f0f7ff;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--blue-ink);
}

.btn-deep {
  background: var(--blue-ink);
  color: var(--white);
  border-color: var(--blue-ink);
}

.btn-deep:hover {
  background: #042e6e;
}

.btn-outline-deep {
  background: transparent;
  color: var(--blue-ink);
  border-color: var(--blue-ink);
}

.btn-outline-deep:hover {
  background: var(--blue-ink);
  color: var(--white);
}

.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.85rem 0;
  background: var(--blue-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ticker-inner {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: scroll 24s linear infinite;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

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

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

/* ── Blocks ── */
.block {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(110, 182, 255, 0.35), transparent 55%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.block-deep {
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 163, 255, 0.25), transparent 50%),
    var(--blue-ink);
}

.block-accent {
  background:
    linear-gradient(135deg, #8ec5ff 0%, var(--sky) 40%, #5aadff 100%);
  color: var(--blue-ink);
}

.block-accent .sub { color: rgba(6, 58, 138, 0.6); }
.block-accent h2 { color: var(--blue-ink); }
.block-accent h2 em {
  color: var(--blue-ink);
  text-decoration-color: var(--blue-ink);
}

.block-head {
  max-width: 520px;
  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(--fog);
  margin-bottom: 0.6rem;
}

.tag-on-accent {
  color: rgba(6, 58, 138, 0.65);
}

.block h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.block h2 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

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

/* ── X embed ── */
.embed-wrap {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.embed-frame {
  width: 100%;
  padding: 1rem 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 20, 60, 0.35);
  display: flex;
  justify-content: center;
  min-height: 120px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.embed-frame::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 50%;
  width: min(70%, 320px);
  height: min(70%, 320px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 182, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.embed-frame .twitter-tweet {
  margin: 0 auto !important;
  position: relative;
  z-index: 1;
}

.embed-fallback {
  color: var(--fog);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.embed-fallback:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ── 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: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.08),
    0 20px 50px rgba(6, 58, 138, 0.35);
  animation: logo-bob 3.5s 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(--fog);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.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: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

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

#contract {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(110, 182, 255, 0.35), transparent 55%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.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(--white);
}

.toast {
  text-align: center;
  min-height: 1.2rem;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--fog);
  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);
  border-radius: 16px;
  background: #061833;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6, 58, 138, 0.35);
}

.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: #88a8cc;
}

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

.chart-link:hover { 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: 1.5px solid rgba(6, 58, 138, 0.2);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
}

.steps li {
  padding: 1.75rem 1.25rem;
  border-right: 1.5px solid rgba(6, 58, 138, 0.15);
}

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

.steps span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(6, 58, 138, 0.5);
  margin-bottom: 0.5rem;
}

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

.steps p {
  font-size: 0.9rem;
  color: rgba(6, 58, 138, 0.65);
}

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

/* ── Footer ── */
.footer {
  background: #042860;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  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: 2px solid rgba(255, 255, 255, 0.45);
}

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

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

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

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

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

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

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

  .steps li {
    border-right: none;
    border-bottom: 1.5px solid rgba(6, 58, 138, 0.15);
  }

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

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-copy {
    max-width: none;
    margin: 0 auto;
    order: 2;
  }

  .hero-visual {
    order: 1;
    min-height: 280px;
    max-width: 340px;
    margin: 0 auto;
  }

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

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

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(13, 95, 212, 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: 0.95rem; }

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

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