:root {
  --ink: #f4f8fc;
  --muted: #c5d0dc;
  --navy: #0d1729;
  --lime: #86e7b3;
  --line: rgba(255, 255, 255, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  background: #06090e;
}

.page {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: minmax(650px, 1fr) auto;
  overflow: hidden;
  isolation: isolate;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
  overflow: hidden;
  background: #030509;
}
.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 54% 58% at 50% 46%, rgba(3, 8, 16, .28), rgba(3, 5, 9, .72) 76%),
    linear-gradient(180deg, rgba(2, 5, 10, .5), rgba(2, 5, 10, .34) 42%, rgba(2, 5, 10, .78));
}
.hero__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

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

.status,
.hero__content,
.footer {
  position: relative;
  z-index: 3;
}
.status {
  position: absolute;
  top: clamp(24px, 3.2vw, 52px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #f4f8fc;
  background: rgba(5, 12, 22, .78);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  transform: translateX(-50%);
}
.status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(134, 231, 179, .15);
  animation: status-blink 2.2s ease-in-out infinite;
  content: "";
}
@keyframes status-blink {
  50% { opacity: .42; box-shadow: 0 0 0 5px rgba(134, 231, 179, .05); }
}

.hero__content {
  width: min(650px, calc(100% - 32px));
  margin-top: -1.5vh;
  text-align: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--ink);
  font-size: clamp(57px, 6.25vw, 116px);
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: .89;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .7);
}
.logo__pill {
  display: inline-block;
  margin-left: .11em;
  padding: .11em .32em .16em .26em;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: .46em;
  color: #fff;
  background: rgba(5, 12, 22, .82);
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 4px 14px rgba(0,0,0,.35);
  letter-spacing: -.065em;
}
.tagline {
  margin: clamp(23px, 2vw, 34px) 0 24px;
  color: var(--muted);
  font-size: clamp(19px, 1.42vw, 27px);
  font-weight: 700;
  letter-spacing: -.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .75);
}
.connect-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 292px);
  min-height: 68px;
  padding: 10px 22px;
  overflow: hidden;
  border: 1px solid rgba(217, 255, 239, .62);
  border-radius: 20px;
  color: #102238;
  background: rgba(240, 249, 246, .9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .42), inset 0 1px rgba(255,255,255,.92), inset 0 0 0 1px rgba(134, 231, 179, .18);
  font: inherit;
  text-align: left;
  text-decoration: none;
  isolation: isolate;
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}
.connect-button::after {
  position: absolute;
  z-index: 0;
  top: -35%;
  bottom: -35%;
  left: -52%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.88), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
  transition: transform .55s ease;
}
.connect-button__icon,
.connect-button__copy {
  position: relative;
  z-index: 1;
}
.connect-button__icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  fill: #3c9070;
  filter: drop-shadow(0 2px 4px rgba(55, 130, 99, .22));
}
.connect-button__copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.connect-button__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.connect-button__trial {
  color: #43775f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
}
@media (any-hover: hover) {
  .connect-button:hover {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .5), inset 0 1px rgba(255,255,255,1), inset 0 0 0 1px rgba(134, 231, 179, .3);
    transform: translateY(-2px);
  }
  .connect-button:hover::after { transform: skewX(-18deg) translateX(470%); }
}
.connect-button:active { transform: translateY(0); }
.connect-button:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.hero__note {
  margin: 15px 0 0;
  color: #b6c4d2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.025em;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
}
.footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 24px 32px;
  color: #aeb9c6;
  background: #080d15;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.footer p { margin: 0; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.footer__links a {
  color: #aeb9c6;
  text-decoration: none;
  transition: color .2s ease;
}
.footer__links a:hover,
.footer__links a:focus-visible { color: var(--lime); }
.footer__links a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (max-width: 680px) {
  .page { grid-template-rows: minmax(560px, 1fr) auto; }
  .hero { min-height: 560px; }
  .hero__image { object-position: 50% center; }
  .status { top: 22px; padding: 8px 13px; font-size: 11px; }
  .hero__content { margin-top: 10px; }
  .tagline { margin-top: 21px; margin-bottom: 22px; font-size: 18px; }
  .connect-button { min-height: 64px; padding: 9px 18px; }
  .connect-button__title { font-size: 15px; }
  .hero__note { max-width: 250px; margin: 14px auto 0; font-size: 11px; }
  .footer { min-height: 77px; padding: 20px 24px; font-size: 11px; }
}

.legal-page {
  min-height: 100svh;
  background: #080d15;
}
.legal-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 8vw, 92px) 0 72px;
  color: #d8e1eb;
  font-size: 16px;
  line-height: 1.7;
}
.legal-content h1,
.legal-content h2 { color: #f4f8fc; line-height: 1.2; }
.legal-content h1 { margin: 28px 0 12px; font-size: clamp(32px, 6vw, 52px); letter-spacing: -.055em; }
.legal-content h2 { margin: 36px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.legal-content p { margin: 0 0 16px; }
.legal-date { color: #91a3b6; font-size: 13px; }
.legal-back {
  display: inline-flex;
  color: var(--lime);
  font-weight: 800;
  text-decoration: none;
}
.legal-back:hover { color: #d7ffe7; }
.legal-back:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .connect-button::after { transition: none; }
}
