:root {
  --cream: #f4efe4;
  --cream-deep: #e8dcc8;
  --paper: #fffaf1;
  --paper-edge: #f7efe0;
  --navy: #10233d;
  --navy-soft: #1a3458;
  --ink: #1b2433;
  --muted: #5c5348;
  --arc: #1e7ae8;
  --arc-bright: #3d9bff;
  --arc-deep: #0c4aa8;
  --tan: #c48a4a;
  --gold: #8a5416;
  --tape: rgba(247, 214, 132, 0.62);
  --shadow: 0 18px 40px rgba(16, 35, 61, 0.1);
  --header-h: 76px;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-ui: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 155, 255, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 138, 74, 0.12), transparent 45%),
    var(--cream);
  font-family: var(--font-ui);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--arc);
  outline-offset: 3px;
}

.visually-hidden {
  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: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
}

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

.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.section-wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

#story,
#banner,
#followed,
#contract,
#chart,
#cta {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.hand-note {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  transform: rotate(-6deg);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arc-deep);
}

.icon-x {
  width: 14px;
  height: 14px;
  display: block;
}

.soon-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.chain-pill,
.prelaunch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chain-pill {
  background: rgba(30, 122, 232, 0.12);
  color: var(--arc-deep);
  border: 1px solid rgba(30, 122, 232, 0.22);
}

.prelaunch-pill {
  background: rgba(176, 122, 46, 0.12);
  color: #7a5418;
  border: 1px solid rgba(176, 122, 46, 0.24);
}

.chain-pill.light,
.prelaunch-pill.light {
  background: rgba(255, 250, 241, 0.14);
  border-color: rgba(255, 250, 241, 0.28);
  color: #fff;
}

.chain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--arc);
  box-shadow: 0 0 0 4px rgba(30, 122, 232, 0.16);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 228, 0.88);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-stuck {
  background: rgba(255, 250, 241, 0.96);
  border-bottom-color: rgba(16, 35, 61, 0.08);
  box-shadow: 0 8px 24px rgba(16, 35, 61, 0.06);
}

.header-inner {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: contain;
  background: #0a2a58;
  box-shadow: 0 6px 16px rgba(16, 35, 61, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
}

.brand-ticker {
  color: var(--arc-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.nav-x,
.nav-buy {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link {
  padding: 8px 12px;
  color: var(--navy);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--arc-deep);
}

.nav-x {
  gap: 8px;
  padding: 9px 16px;
  background: var(--navy);
  color: #fff;
}

.nav-buy {
  padding: 9px 14px;
  background: var(--arc);
  color: #fff;
}

.nav-buy .soon-tag,
.btn-buy .soon-tag,
.btn-x .soon-tag {
  background: rgba(255, 250, 241, 0.95);
}

.nav-link-trade .soon-tag {
  background: rgba(176, 122, 46, 0.12);
}

.nav-x:hover,
.nav-buy:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-x:hover {
  background: #000;
}

.nav-buy:hover,
.btn-buy:hover {
  background: var(--arc-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-x {
  background: var(--navy);
  color: #fff;
}

.btn-buy {
  background: var(--arc);
  color: #fff;
}

.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(16, 35, 61, 0.18);
}

.btn-x:hover {
  background: #000;
}

.copy-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  background: var(--arc-deep);
}

.copy-btn.is-copied {
  background: #2f6b3c;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 28px 0 72px;
  overflow: hidden;
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.hero-blobs,
.hero-paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

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

.blob-a {
  width: 340px;
  height: 340px;
  left: 48%;
  top: -40px;
  background: rgba(61, 155, 255, 0.28);
}

.blob-b {
  width: 220px;
  height: 280px;
  right: -40px;
  bottom: 40px;
  background: rgba(30, 122, 232, 0.18);
  border-radius: 46% 54% 60% 40%;
}

.blob-c {
  width: 180px;
  height: 180px;
  left: 8%;
  bottom: 8%;
  background: rgba(196, 138, 74, 0.16);
}

.paw {
  position: absolute;
  fill: rgba(30, 122, 232, 0.14);
  animation: paw-drift 8s ease-in-out infinite;
}

.paw-1 { width: 42px; left: 8%; top: 18%; animation-delay: 0s; }
.paw-2 { width: 28px; left: 44%; top: 8%; animation-delay: 1.4s; }
.paw-3 { width: 36px; right: 8%; top: 36%; animation-delay: 2.2s; }
.paw-4 { width: 24px; left: 18%; bottom: 16%; animation-delay: 0.8s; }
.paw-5 { width: 52px; left: 6%; top: 22%; fill: rgba(255, 250, 241, 0.08); }
.paw-6 { width: 30px; right: 12%; top: 18%; fill: rgba(61, 155, 255, 0.18); }
.paw-7 { width: 40px; right: 22%; bottom: 18%; fill: rgba(255, 250, 241, 0.1); }

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-note {
  display: inline-block;
  margin-bottom: 8px;
  margin-left: 8px;
}

.hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.hero-ticker {
  margin: 14px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--arc);
}

.hero-quote {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  color: var(--navy-soft);
}

.hero-support {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.ca-inline,
.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ca-inline {
  margin-bottom: 22px;
  padding: 8px 8px 8px 14px;
  background: var(--paper);
  border: 1px dashed rgba(30, 122, 232, 0.35);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

.ca-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--arc-deep);
}

.ca-value {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-stage-glow {
  position: absolute;
  width: min(92%, 460px);
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 155, 255, 0.35), rgba(61, 155, 255, 0) 68%);
  z-index: -1;
}

.mascot-note {
  position: absolute;
  top: 8%;
  right: 4%;
  z-index: 2;
}

.mascot-parallax,
.mascot-float {
  width: 100%;
}

.mascot-float {
  animation: mascot-float 5.5s ease-in-out infinite;
  will-change: transform;
}

.hero-mascot {
  display: block;
  width: 100%;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center bottom;
}

/* Story */
.story {
  padding: 24px 0 80px;
}

.story-head {
  margin-bottom: 36px;
}

.section-scribble {
  margin-bottom: 10px;
}

.story-mega {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.story-mega span {
  display: block;
  color: var(--arc);
  font-style: italic;
  text-transform: none;
}

.story-album {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.paper-card {
  position: relative;
  max-width: 100%;
  background: var(--paper);
  border-radius: 6px 6px 18px 18px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
  transform: rotate(var(--tilt, 0deg));
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.paper-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.paper-card p:last-child {
  margin-bottom: 0;
}

.card-living { grid-column: span 5; }
.card-portrait { grid-column: span 7; }
.card-show { grid-column: span 7; }
.card-not { grid-column: span 5; }
.card-follow { grid-column: span 6; }
.card-quiet { grid-column: span 6; }
.card-ticker { grid-column: span 12; }

.card-kicker,
.card-line,
.name-stamp,
.card-punch,
.followers-line,
.quiet-lead {
  color: var(--navy) !important;
}

.card-kicker,
.card-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.name-stamp {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.card-punch {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.3;
}

.struck {
  font-weight: 700;
  color: #8a8176 !important;
}

.quiet-lead {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.ticker-mark {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--arc) !important;
  letter-spacing: 0.04em;
}

.polaroid {
  margin: 8px 0 0;
  padding: 12px 12px 36px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 35, 61, 0.12);
  transform: rotate(-1.5deg);
}

.polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #08244d;
}

.polaroid figcaption {
  margin-top: 12px;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  text-align: center;
  color: var(--navy);
}

.ig-sticker {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 12px;
  background: #fff4d6;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  transform: rotate(-2deg);
  box-shadow: 0 6px 0 rgba(16, 35, 61, 0.06);
}

.tape,
.washi {
  position: absolute;
  height: 18px;
  background: var(--tape);
  box-shadow: 0 6px 10px rgba(16, 35, 61, 0.08);
}

.tape-center {
  width: 92px;
  left: 50%;
  top: -9px;
  transform: translateX(-50%) rotate(-2deg);
}

.tape-left,
.tape-right {
  width: 72px;
  top: -8px;
}

.tape-left {
  left: 18px;
  transform: rotate(-12deg);
}

.tape-right {
  right: 18px;
  transform: rotate(10deg);
}

.washi {
  width: 46px;
  height: 100%;
  left: 10px;
  top: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(61, 155, 255, 0.18) 0 8px,
    rgba(255, 250, 241, 0.01) 8px 14px
  );
}

.manifesto {
  position: relative;
  margin-top: 42px;
  padding: 28px 8px 8px;
  text-align: center;
}

.manifesto-note {
  position: absolute;
  left: 8%;
  top: 0;
}

.stamp {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.stamp-1 { color: var(--navy); }
.stamp-2 { color: var(--arc); }
.stamp-3 { color: var(--gold); }

/* Banner */
.banner-moment {
  padding: 10px 0 70px;
}

.banner-frame {
  position: relative;
  margin: 0;
  padding: 14px 14px 42px;
  background: var(--paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(16, 35, 61, 0.12);
  transform: rotate(-0.4deg);
}

.banner-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Followed */
.followed {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(700px 300px at 80% 20%, rgba(61, 155, 255, 0.22), transparent 60%),
    var(--navy);
  color: var(--paper);
}

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

.followed-wrap {
  position: relative;
  z-index: 1;
}

.followed-scribble {
  color: #f0c56a;
  margin-bottom: 18px;
}

.followed-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.followed-title .word {
  display: block;
}

.word-2 {
  color: var(--arc-bright);
  font-style: italic;
  text-transform: none;
  animation: word-glow 4s ease-in-out infinite;
}

.followed-sub {
  margin: 22px 0 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255, 250, 241, 0.78);
}

/* Contract */
.contract {
  padding: 80px 0 40px;
}

.ca-panel {
  padding: 32px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.12), transparent 30%),
    linear-gradient(135deg, var(--arc-deep) 0%, var(--arc) 52%, #6eb3ff 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.ca-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.ca-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
}

.ca-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ca-help {
  margin: 12px 0 22px;
  color: rgba(255, 250, 241, 0.82);
}

.ca-value-lg {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  background: var(--paper);
  color: var(--navy);
  border-radius: 16px;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 700;
}

.copy-btn-lg {
  min-height: 56px;
  padding: 12px 22px;
  background: var(--navy);
}

/* Chart */
.chart-section {
  padding: 40px 0 80px;
}

.chart-head {
  margin-bottom: 22px;
}

.chart-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.chart-copy {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
}

.dex-shell {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid rgba(16, 35, 61, 0.08);
  box-shadow: var(--shadow);
}

.dex-placeholder,
.dex-frame {
  min-height: 420px;
  width: 100%;
  border: 0;
}

.dex-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  padding: 32px;
}

.dex-grid {
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  background:
    linear-gradient(to right, rgba(30, 122, 232, 0.07) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(to bottom, rgba(16, 35, 61, 0.06) 1px, transparent 1px) 0 0 / 42px 42px;
}

.dex-sticker {
  position: relative;
  max-width: 360px;
  padding: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 16px 30px rgba(16, 35, 61, 0.12);
  transform: rotate(-1deg);
}

.dex-soon {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy);
}

.dex-sticker p {
  margin: 0 0 8px;
  color: var(--muted);
}

.dex-ca {
  font-family: ui-monospace, Consolas, monospace;
  color: var(--arc-deep) !important;
  font-weight: 700;
}

.dex-open {
  margin-top: 18px;
}

/* Finale */
.finale {
  padding: 20px 0 90px;
}

.finale-wrap {
  text-align: center;
}

.finale-note {
  display: inline-block;
  margin-bottom: 18px;
}

.finale-lines {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.finale-lines span {
  display: block;
}

.finale-lines span:nth-child(2) {
  color: var(--arc);
}

.finale-lines span:nth-child(3) {
  color: var(--gold);
}

.finale-ticker {
  margin: 18px 0 26px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.finale-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--paper);
  padding: 32px 16px;
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-name,
.footer-meta {
  margin: 0;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.footer-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* Click paws */
.click-paw {
  position: fixed;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 70;
  fill: rgba(30, 122, 232, 0.45);
  animation: paw-pop 700ms ease forwards;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@keyframes paw-drift {
  0%, 100% { transform: translateY(0) rotate(-8deg); opacity: 0.7; }
  50% { transform: translateY(-10px) rotate(8deg); opacity: 1; }
}

@keyframes word-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

@keyframes paw-pop {
  0% { transform: scale(0.4) rotate(-12deg); opacity: 0.9; }
  100% { transform: scale(1.2) translateY(-18px) rotate(12deg); opacity: 0; }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: 2;
    min-height: 0;
  }

  .hero-copy {
    order: 1;
  }

  .hero-mascot {
    max-height: min(62vh, 520px);
  }

  .card-living,
  .card-portrait,
  .card-show,
  .card-not,
  .card-follow,
  .card-quiet,
  .card-ticker {
    grid-column: span 12;
  }

  .mascot-note {
    right: 0;
    top: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px;
    background: var(--paper);
    border-bottom: 1px solid rgba(16, 35, 61, 0.08);
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 16px 30px rgba(16, 35, 61, 0.08);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .nav-link,
  .nav-x,
  .nav-buy {
    justify-content: center;
    min-height: 46px;
  }

  .ca-inline,
  .ca-row {
    width: 100%;
  }

  .ca-inline {
    border-radius: 18px;
  }

  .copy-btn,
  .copy-btn-lg,
  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .finale-actions .btn {
    width: min(100%, 420px);
  }

  .ca-panel,
  .paper-card {
    padding: 22px 18px;
  }

  .hero,
  .story,
  .followed,
  .contract {
    padding-left: 0;
    padding-right: 0;
  }

  .blob-a,
  .blob-b,
  .paw-3,
  .paw-4 {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 0.9rem;
  }

  .hero-name {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
  }

  .ca-value-lg {
    font-size: 1.05rem;
  }
}

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

  .mascot-float,
  .paw,
  .word-2,
  .click-paw,
  .reveal {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .nav-x:hover,
  .nav-buy:hover,
  .btn:hover,
  .copy-btn:hover {
    transform: none;
  }
}
