/* $STAMPY — verified frog office */
:root {
  --blue: #1e5eff;
  --blue-bright: #4d8cff;
  --blue-deep: #071633;
  --blue-mid: #0c2a5c;
  --blue-glow: rgba(30, 94, 255, 0.45);
  --green: #3ecf55;
  --ink: #07101f;
  --fog: #e8f0ff;
  --white: #f7faff;
  --muted: #9bb0d4;
  --line: rgba(125, 168, 255, 0.28);
  --radius: 18px;
  --nav-h: 72px;
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 18px 50px rgba(3, 12, 36, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(30, 94, 255, 0.35), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(62, 207, 85, 0.12), transparent 55%),
    linear-gradient(180deg, #050d1f 0%, var(--blue-deep) 40%, #081a3a 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--blue);
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

.jp {
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.72;
}

.stamp-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='%234d8cff' d='M40 18c-8 0-14 4-14 10 0 4 3 7 8 9l-8 18h8l6-14h4l6 14h8L48 37c5-2 8-5 8-9 0-6-6-10-16-10zm0 8c4 0 6 1 6 3s-2 3-6 3-6-1-6-3 2-3 6-3z'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: translate 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  translate: 0 -2px;
}

.btn:active {
  translate: 0 0;
}

.btn--buy {
  background: linear-gradient(180deg, #4f8fff 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 30px var(--blue-glow);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.btn--buy:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 14px 36px rgba(30, 94, 255, 0.65);
}

.btn--ghost {
  background: rgba(10, 28, 68, 0.7);
  border: 1px solid var(--line);
  color: var(--fog);
}

.btn--ghost:hover {
  border-color: var(--blue-bright);
  color: #fff;
}

.btn--xl {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.05rem;
}

.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.85rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  background: rgba(5, 13, 31, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.nav__brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(77, 140, 255, 0.5);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  margin-right: 8px;
}

.nav__links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 150ms ease;
}

.nav__links a:hover {
  color: #fff;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__x {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 28, 68, 0.65);
  transition: translate 160ms ease, border-color 160ms ease;
}

.nav__x:hover {
  translate: 0 -2px;
  border-color: var(--blue-bright);
}

.nav__x img {
  filter: invert(1);
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav.is-open .nav__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav__burger span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 40px 18px 56px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.hero__orb--a {
  width: 420px;
  height: 420px;
  top: 8%;
  right: 8%;
  background: rgba(30, 94, 255, 0.35);
}

.hero__orb--b {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: 5%;
  background: rgba(62, 207, 85, 0.18);
}

.hero__checks {
  position: absolute;
  inset: 0;
}

.hero__check {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-bright);
  opacity: 0.35;
  animation: floaty 7s ease-in-out infinite;
}

.hero__speed {
  position: absolute;
  inset: 18% 10% auto;
  height: 180px;
  background: repeating-linear-gradient(
    100deg,
    transparent 0 18px,
    rgba(125, 168, 255, 0.08) 18px 20px
  );
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.55;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  text-align: center;
}

.hero__accent {
  margin: 0 0 10px;
  color: var(--blue-bright);
  font-size: 0.85rem;
}

.hero__mascot {
  width: min(360px, 72vw);
  margin: 0 auto 8px;
  filter: drop-shadow(0 24px 40px rgba(30, 94, 255, 0.45));
}

.hero__mascot img {
  width: 100%;
  height: auto;
  animation: bob 4.5s ease-in-out infinite;
}

.hero__title {
  margin: 0;
  line-height: 0.9;
}

.hero__ticker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 8.5rem);
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fff 20%, #9ec2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(77, 140, 255, 0.35);
  position: relative;
}

.hero__ticker::after {
  content: "";
  position: absolute;
  inset: 18% -8% auto;
  height: 42%;
  z-index: -1;
  background: repeating-linear-gradient(
    -12deg,
    transparent 0 10px,
    rgba(77, 140, 255, 0.18) 10px 12px
  );
}

.hero__tagline {
  margin: 14px auto 26px;
  max-width: 34ch;
  color: var(--fog);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* CA bar */
.ca-bar {
  padding: 0 18px 28px;
}

.ca-bar__panel {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid rgba(77, 140, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(12, 42, 92, 0.95), rgba(7, 22, 51, 0.98));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.ca-bar__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ca-bar__address {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 2.2vw, 0.92rem);
  font-weight: 500;
  color: #d7e6ff;
}

.ca-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(8, 24, 58, 0.7);
  padding: 12px 0;
}

.marquee--alt {
  background: rgba(30, 94, 255, 0.12);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 28s) linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #c7d9ff;
}

.marquee__group .jp {
  color: var(--blue-bright);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* Legit strip */
.legit {
  overflow: hidden;
  padding: 18px 0;
}

.legit__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--legit-duration, 32s) linear infinite;
}

.legit__group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.legit__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 28, 68, 0.75);
  color: var(--fog);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: translate 160ms ease, border-color 160ms ease;
}

.legit__pill:hover {
  translate: 0 -2px;
  border-color: var(--blue-bright);
}

.legit__pill img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.legit__text {
  letter-spacing: 0.02em;
}

/* Sections */
.section {
  padding: 88px 18px;
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section__eyebrow {
  margin: 0 0 8px;
  color: var(--blue-bright);
  font-size: 0.82rem;
}

.section__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.section__lead {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 40ch;
  font-size: 1.05rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.about__manifesto {
  margin: 0;
  font-size: 1.08rem;
  color: var(--fog);
  max-width: 58ch;
}

.about__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.badge {
  position: relative;
  padding: 18px 16px;
  border-radius: 18px;
  border: 2px solid rgba(77, 140, 255, 0.55);
  background:
    radial-gradient(circle at 80% 20%, rgba(77, 140, 255, 0.28), transparent 50%),
    rgba(8, 26, 58, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
  rotate: -1.5deg;
  transition: translate 160ms ease, rotate 160ms ease;
}

.badge:nth-child(even) {
  rotate: 1.5deg;
}

.badge:hover {
  translate: 0 -4px;
  rotate: 0deg;
}

.badge__label {
  display: block;
  color: var(--blue-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.badge__value {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}

/* Gimmick */
.gimmick {
  text-align: center;
  background:
    radial-gradient(600px 280px at 50% 20%, rgba(30, 94, 255, 0.22), transparent 70%);
}

.gimmick__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gimmick .section__lead {
  text-align: center;
}

.stamp-pad {
  position: relative;
  width: min(320px, 86vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid rgba(77, 140, 255, 0.55);
  background:
    radial-gradient(circle at 50% 40%, rgba(77, 140, 255, 0.25), rgba(7, 22, 51, 0.9));
  box-shadow: 0 0 0 10px rgba(30, 94, 255, 0.12), var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: translate 120ms ease, box-shadow 120ms ease;
}

.stamp-pad:hover {
  translate: 0 -4px;
  box-shadow: 0 0 0 12px rgba(30, 94, 255, 0.2), 0 20px 50px rgba(30, 94, 255, 0.35);
}

.stamp-pad.is-squish .stamp-pad__frog {
  transform: scale(0.92, 0.86);
}

.stamp-pad__frog {
  width: 78%;
  height: auto;
  transition: transform 120ms ease;
  transform-origin: center 70%;
  pointer-events: none;
}

.stamp-pad__hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  translate: -50% 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #cfe0ff;
  background: rgba(7, 22, 51, 0.75);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.stamp-pad__burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stamp-pop {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  animation: pop-fly 700ms ease-out forwards;
}

.stamp-count {
  margin: 22px 0 0;
  color: var(--fog);
  font-size: 1.05rem;
}

.stamp-count strong {
  color: var(--blue-bright);
  font-family: var(--font-mono);
}

/* How to buy */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(8, 26, 58, 0.8);
  transition: translate 160ms ease, border-color 160ms ease;
}

.step:hover {
  translate: 0 -4px;
  border-color: var(--blue-bright);
}

.step__num {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: rgba(77, 140, 255, 0.45);
}

.step__icon {
  width: 48px;
  height: 48px;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.step__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.step__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.buy__cta {
  margin-top: 36px;
  text-align: center;
}

/* Chart */
.chart__frame {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1428;
  box-shadow: var(--shadow);
}

.chart__frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.chart__loading,
.chart__empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

.chart__empty h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  letter-spacing: 0.03em;
}

.chart__empty p {
  margin: 0;
  max-width: 36ch;
}

/* Join */
.join {
  padding-top: 40px;
}

.join__banner-wrap {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.join__banner {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.join__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(20px, 4vw, 40px);
  background:
    linear-gradient(90deg, rgba(5, 13, 31, 0.88) 0%, rgba(5, 13, 31, 0.55) 48%, rgba(5, 13, 31, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 13, 31, 0.75), transparent 55%);
}

.join__overlay .section__title,
.join__overlay .section__lead {
  margin-bottom: 0;
}

.join__overlay .section__lead {
  color: var(--fog);
}

.join__overlay .btn {
  margin-top: 8px;
}

/* Footer */
.footer {
  padding: 48px 18px 36px;
  border-top: 1px solid var(--line);
  background: rgba(3, 10, 24, 0.7);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.footer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
}

.footer__links a:hover {
  color: #fff;
}

.footer__disclaimer {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Reveals */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 700ms ease, translate 700ms ease;
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

/* Motion */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

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

@keyframes pop-fly {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.6); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -60px))) scale(1.15); }
}

/* Responsive */
@media (max-width: 980px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 880px) {
  .nav__burger {
    display: grid;
  }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 12px auto;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(7, 22, 51, 0.96);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    translate: 0 -8px;
    transition: opacity 160ms ease, translate 160ms ease, visibility 160ms ease;
  }

  .nav.is-open .nav__links {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    translate: 0 0;
  }

  .nav__links a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav__links a:hover {
    background: rgba(30, 94, 255, 0.15);
  }

  .ca-bar__panel {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .ca-bar__actions {
    justify-content: stretch;
  }

  .ca-bar__actions .btn {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .nav__brand-text {
    display: none;
  }

  .nav__buy {
    padding: 0 12px;
    font-size: 0.8rem;
    min-height: 40px;
  }

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

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

  .hero__mascot {
    width: min(280px, 78vw);
  }

  .join__overlay {
    align-items: center;
    text-align: center;
    background:
      linear-gradient(0deg, rgba(5, 13, 31, 0.92) 0%, rgba(5, 13, 31, 0.55) 55%, rgba(5, 13, 31, 0.35) 100%);
  }

  .chart__frame iframe {
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .hero__mascot img,
  .hero__check,
  .marquee__track,
  .legit__track {
    animation: none !important;
  }

  .btn:hover,
  .step:hover,
  .badge:hover,
  .stamp-pad:hover,
  .legit__pill:hover,
  .nav__x:hover {
    translate: none;
  }
}
