:root {
  --bg: #e8f2ec;
  --ink: #10241f;
  --muted: #4a675e;
  --line: #b9d2c7;
  --accent: #0d5c48;
  --accent-soft: #147a5f;
  --accent-wash: #d3ebe1;
  --surface: rgba(255, 255, 255, 0.72);
  --gold: #9a6b1f;
  --btn-ink: #f3fffa;
  --display: "Syne", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(165deg, #eef6f1 0%, #e4f0ea 42%, #d7ebe2 100%);
}
.bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 60% at 88% 8%, rgba(20, 122, 95, 0.18), transparent 58%),
    radial-gradient(70% 50% at 8% 78%, rgba(154, 107, 31, 0.1), transparent 55%);
}
.bg-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(13, 92, 72, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 92, 72, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 88%);
  animation: drift 32s linear infinite;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: breathe 9s ease-in-out infinite;
}
.bg-orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  right: -6%;
  top: 4%;
  background: radial-gradient(circle, rgba(20, 122, 95, 0.28), transparent 68%);
}
.bg-orb-b {
  width: min(36vw, 280px);
  height: min(36vw, 280px);
  left: -8%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(13, 92, 72, 0.16), transparent 70%);
  animation-delay: -3s;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(56px); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes ring {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

.top, main > .hero, .security, .foot {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  animation: rise 0.6s ease both;
}
.brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.8vw, 1.95rem);
  letter-spacing: 0.08em;
  line-height: 1;
}
.market {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: calc(100dvh - 7.5rem);
  padding-block: 1.75rem 2.25rem;
}
.hero-copy { animation: rise 0.75s 0.05s ease both; }
.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.4vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 11ch;
}
.lede {
  margin: 0 0 1.7rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 26rem;
}

.cta-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  padding: 1.05rem 1.2rem;
  min-height: 3.85rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.cta-wrap.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: var(--btn-ink);
  box-shadow: 0 14px 32px rgba(13, 92, 72, 0.26);
}
.cta-wrap.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(13, 92, 72, 0.3);
}
.cta-wrap.secondary {
  background: var(--surface);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.cta-wrap.secondary:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.cta-wrap:active { transform: translateY(1px); }
.cta-wrap .lbl {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.cta-wrap .sub {
  font-size: 0.84rem;
  opacity: 0.78;
  font-weight: 500;
}
.cta-wrap > .cta-click {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  z-index: 1;
}
.cta-wrap > .cta-click:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.cta-wrap > *:not(.cta-click) {
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.hero-visual {
  display: grid;
  place-items: center;
  animation: rise 0.85s 0.12s ease both;
  min-height: 360px;
}
.mosaic {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
}
.tile {
  position: absolute;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 10px 28px rgba(16, 36, 31, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.tile img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.tile-binance { left: 8%; top: 12%; }
.tile-coinbase { right: 10%; top: 8%; }
.tile-okx { left: 2%; top: 42%; background: #fff; }
.tile-okx img { width: 36px; height: 36px; }
.tile-bybit {
  right: 4%;
  top: 38%;
  background: #121214;
  width: 84px;
  height: 84px;
}
.tile-bybit img { width: 58px; height: 58px; }
.tile-kraken { left: 22%; bottom: 10%; }
.tile-bitget { right: 18%; bottom: 14%; }
.tile-kucoin { left: 40%; top: 2%; width: 64px; height: 64px; border-radius: 18px; }
.tile-gate { right: 36%; bottom: 2%; width: 64px; height: 64px; border-radius: 18px; }
.tile-crypto { left: 48%; top: 48%; width: 68px; height: 68px; }

.float-a { animation: floaty 5.5s ease-in-out infinite; }
.float-b { animation: floaty 6.2s ease-in-out infinite 0.4s; }
.float-c { animation: floaty 5.8s ease-in-out infinite 0.8s; }
.float-d { animation: floaty 6.6s ease-in-out infinite 0.2s; }
.float-e { animation: floaty 5.2s ease-in-out infinite 1s; }

.shield {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #117a5f, #0d5c48);
  box-shadow: 0 18px 40px rgba(13, 92, 72, 0.35);
  z-index: 2;
}
.shield img {
  width: 38px;
  height: 38px;
  filter: brightness(0) invert(1);
}
.shield-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(13, 92, 72, 0.35);
  animation: ring 3.4s ease-in-out infinite;
}

.rail {
  margin: 0 0 1rem;
  padding: 1.25rem 0 1.75rem;
  border-block: 1px solid rgba(185, 210, 199, 0.7);
  background: linear-gradient(90deg, rgba(255,255,255,0.35), rgba(255,255,255,0.55), rgba(255,255,255,0.35));
  animation: rise 0.7s 0.16s ease both;
}
.rail-label {
  width: min(100%, var(--max));
  margin: 0 auto 0.85rem;
  padding-inline: var(--pad);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rail-mask {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rail-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.rail-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.rail-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.rail-item:nth-child(2) img,
.rail-item:nth-child(11) img {
  width: 28px;
  height: 28px;
  background: #121214;
  border-radius: 6px;
  padding: 2px;
}

.security {
  padding: 2.5rem 0 3.5rem;
  animation: rise 0.75s 0.2s ease both;
}
.security h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.015em;
}
.security > p {
  margin: 0 0 1.25rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.security ul {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  max-width: 58ch;
}
.security li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.security li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
}
.security li strong {
  color: var(--accent);
  font-weight: 700;
}
.assets-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.assets-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.security .note {
  margin: 0;
  max-width: 50ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.foot {
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.foot p { margin: 0; }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.25rem;
  }
  .hero h1 { max-width: 14ch; }
  .hero-visual {
    order: -1;
    min-height: 280px;
  }
  .mosaic {
    width: min(92vw, 340px);
  }
  .tile { width: 62px; height: 62px; border-radius: 18px; }
  .tile img { width: 32px; height: 32px; }
  .tile-bybit { width: 72px; height: 72px; }
  .tile-bybit img { width: 48px; height: 48px; }
  .shield { width: 88px; height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .rail-track { transform: none; }
}
