:root {
  --ink: #07182f;
  --muted: #4f6682;
  --ton: #0098ea;
  --ton-dark: #0870bb;
  --sky: #dff5ff;
  --ice: #f5fbff;
  --card: rgba(255, 255, 255, 0.78);
  --yellow: #ffcc32;
  --orange: #ff8d26;
  --line: rgba(0, 112, 190, 0.16);
  --shadow: rgba(0, 83, 145, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(0, 152, 234, 0.18), transparent 30%),
    linear-gradient(180deg, #f8fdff 0%, #dff5ff 48%, #f7fbff 100%);
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
}

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

a,
button {
  font: inherit;
}

.site-pet {
  position: fixed;
  z-index: 40;
  left: -110px;
  bottom: 14%;
  width: 116px;
  height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 82, 145, 0.22));
  animation: petJumpTour 16s ease-in-out infinite;
  pointer-events: none;
}

@keyframes petJumpTour {
  0% {
    transform: translate3d(-130px, 0, 0) rotate(-8deg) scale(1);
  }

  10% {
    transform: translate3d(8vw, -12vh, 0) rotate(5deg) scale(1.03);
  }

  24% {
    transform: translate3d(26vw, 6vh, 0) rotate(-4deg) scale(0.98);
  }

  38% {
    transform: translate3d(44vw, -20vh, 0) rotate(8deg) scale(1.05);
  }

  52% {
    transform: translate3d(62vw, 2vh, 0) rotate(-6deg) scale(1);
  }

  66% {
    transform: translate3d(78vw, -18vh, 0) rotate(8deg) scale(1.04);
  }

  78% {
    transform: translate3d(96vw, 7vh, 0) rotate(-5deg) scale(0.98);
  }

  90% {
    transform: translate3d(110vw, -10vh, 0) rotate(7deg) scale(1.02);
  }

  100% {
    transform: translate3d(125vw, 0, 0) rotate(-8deg) scale(1);
  }
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  width: min(1120px, calc(100% - 28px));
  min-height: 60px;
  padding: 8px 10px;
  background: rgba(245, 251, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 83, 145, 0.14);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links,
.actions,
.hero-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links {
  justify-content: center;
}

.nav-links a,
.copy-ca,
.x-link,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.nav-links a {
  padding: 0 12px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 152, 234, 0.08);
}

.copy-ca {
  max-width: 230px;
  padding: 0 13px;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--ton);
  border: 0;
  cursor: pointer;
}

.x-link {
  width: 44px;
  color: var(--ton);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(26px, 5vw, 82px);
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(18px, 6vw, 92px) 54px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 152, 234, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 152, 234, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -13vw;
  top: 10vh;
  width: 48vw;
  min-width: 440px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 152, 234, 0.18), transparent 68%);
  border-radius: 50%;
}

.hero-copy,
.hero-duck-wrap {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ton);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 880px;
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: clamp(62px, 9vw, 130px);
  line-height: 0.9;
  font-weight: 1000;
}

.hero-text {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  padding: 0 18px;
}

.primary {
  color: #fff;
  background: var(--ton);
  box-shadow: 0 18px 42px rgba(0, 152, 234, 0.24);
}

.secondary {
  color: var(--ton-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-duck-wrap {
  position: relative;
  width: min(360px, 100%);
  min-height: 360px;
  max-width: 360px;
  margin-inline: auto;
}

.halo {
  position: absolute;
  inset: 7%;
  z-index: -1;
  background:
    radial-gradient(circle, rgba(255, 204, 50, 0.36), transparent 58%),
    radial-gradient(circle at 50% 58%, rgba(0, 152, 234, 0.28), transparent 70%);
  border-radius: 50%;
  filter: blur(8px);
}

.hero-duck {
  position: absolute;
  right: 50%;
  bottom: 7%;
  width: min(300px, 58vw);
  height: auto;
  object-fit: cover;
  margin-inline: auto;
  transform: translateX(50%);
  border: 10px solid #fff;
  border-radius: 8px;
  filter: drop-shadow(0 30px 34px rgba(0, 83, 145, 0.2));
  animation: duckHover 4s ease-in-out infinite;
}

@keyframes duckHover {
  0%, 100% {
    transform: translateX(50%) translateY(0);
  }

  50% {
    transform: translateX(50%) translateY(-12px);
  }
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px clamp(18px, 6vw, 92px);
  background: var(--ton);
}

.signal-strip span {
  padding: 10px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  font-weight: 850;
}

.lore,
.origin-duck,
.leader,
.tweet-zone,
.fees,
.final {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 6vw, 92px);
}

.origin-duck {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background:
    radial-gradient(circle at 24% 50%, rgba(255, 204, 50, 0.24), transparent 30%),
    linear-gradient(180deg, #eaf8ff, #f7fcff);
}

.origin-duck figure {
  margin: 0;
}

.origin-duck figure img {
  width: min(300px, 78vw);
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 24px 30px rgba(0, 83, 145, 0.18));
}

.origin-copy p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.lore {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: linear-gradient(180deg, #f7fcff, #e6f7ff);
}

h2 {
  margin: 0;
  max-width: 880px;
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  font-weight: 1000;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 0.94;
}

.copy p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.terminal-card {
  overflow: hidden;
  background: rgba(7, 24, 47, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 83, 145, 0.2);
}

.terminal-top {
  display: flex;
  gap: 7px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
}

.terminal-top span:nth-child(2) {
  background: var(--ton);
}

.terminal-top span:nth-child(3) {
  background: #70e0a4;
}

pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #bdeaff;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.65;
}

.leader {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background:
    radial-gradient(circle at 24% 50%, rgba(0, 152, 234, 0.18), transparent 34%),
    linear-gradient(180deg, #e6f7ff, #f8fdff);
}

.leader-portrait {
  position: relative;
  margin: 0;
}

.leader-portrait::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: radial-gradient(circle, rgba(0, 152, 234, 0.2), transparent 68%);
  border-radius: 50%;
}

.leader-portrait img {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 83, 145, 0.18);
}

.leader-copy p {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.leader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.leader-tags span {
  padding: 10px 13px;
  color: var(--ton-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(0, 83, 145, 0.08);
}

.tweet-zone {
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 152, 234, 0.12), transparent 26%),
    #f8fdff;
}

.section-head {
  width: min(900px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.tweet-card {
  width: min(640px, 100%);
  min-height: 360px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 83, 145, 0.14);
}

.fees {
  background: linear-gradient(180deg, #e6f7ff, #f8fdff);
}

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

.fee-grid article {
  min-height: 260px;
  padding: 22px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 83, 145, 0.12);
  backdrop-filter: blur(12px);
}

.fee-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--ton);
  font-size: 14px;
  font-weight: 900;
}

.fee-grid h3 {
  margin: 0;
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  font-weight: 1000;
  font-size: 36px;
  line-height: 1;
}

.fee-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.final {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 152, 234, 0.08), rgba(0, 152, 234, 0.18)),
    #eefaff;
}

.final img {
  width: min(280px, 72vw);
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: 50%;
  box-shadow: 0 26px 70px rgba(0, 83, 145, 0.16);
}

.final p {
  width: min(820px, 100%);
  margin: 28px 0 0;
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  font-weight: 1000;
}

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

  .site-pet,
  .hero-duck {
    animation: none;
  }
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
    width: min(720px, calc(100% - 22px));
  }

  .nav-links {
    display: none;
  }

  .hero,
  .origin-duck,
  .lore,
  .leader,
  .fee-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

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

  .hero-duck-wrap {
    width: min(430px, 100%);
    min-height: 330px;
  }

  .origin-duck,
  .lore,
  .leader {
    text-align: center;
  }

  .copy p,
  .origin-copy p,
  .leader-copy p {
    margin-inline: auto;
  }

  .leader-tags {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .topbar {
    grid-template-columns: 1fr;
    top: 10px;
    gap: 8px;
    padding: 8px;
  }

  .actions {
    justify-content: center;
    width: 100%;
  }

  .copy-ca {
    max-width: min(270px, calc(100vw - 86px));
    font-size: 14px;
  }

  .hero {
    gap: 18px;
    padding: 142px 16px 42px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 74px);
    line-height: 0.92;
  }

  h2 {
    font-size: clamp(36px, 11vw, 56px);
    line-height: 0.98;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-duck-wrap {
    width: min(280px, 100%);
    min-height: 270px;
  }

  .hero-duck {
    width: min(230px, 70vw);
    border-width: 7px;
  }

  .signal-strip {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 12px 16px;
  }

  .signal-strip span {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .lore,
  .origin-duck,
  .leader,
  .tweet-zone,
  .fees,
  .final {
    padding: 54px 16px;
  }

  .tweet-card {
    min-height: 260px;
    padding: 8px;
  }

  pre {
    padding: 18px;
    font-size: 13px;
  }

  .fee-grid article {
    min-height: auto;
    padding: 18px;
  }

  .fee-grid span {
    margin-bottom: 18px;
  }

  .final {
    min-height: 54vh;
  }

  .site-pet {
    width: 70px;
    height: 80px;
    bottom: 8%;
  }
}
