:root {
  --green: #00d26a;
  --green-bright: #19e878;
  --green-deep: #00a854;
  --green-forest: #0b7a40;
  --green-soft: #d8fbe6;
  --white: #ffffff;
  --cream: #fff8ef;
  --off-white: #f6f1e8;
  --linen: #efe6d6;
  --charcoal: #171a16;
  --ink: #22251f;
  --muted: #5b6357;
  --sky: #9adfff;
  --sky-mid: #c8ecff;
  --grass: #6fc34a;
  --grass-deep: #3ea33a;
  --pink: #ffb6c8;
  --shadow: 0 18px 40px rgba(23, 26, 22, 0.12);
  --radius: 22px;
  --header-h: 78px;
  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
}

p,
ul,
ol {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--charcoal);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
}

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

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--charcoal);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 24px rgba(23, 26, 22, 0.08);
}

.roof-stripe {
  height: 7px;
  background: linear-gradient(90deg, var(--green-deep), var(--green), var(--green-bright), var(--green));
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  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: 12px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2.5px solid var(--green);
  background: #0c0d0c;
  box-shadow: 0 4px 0 rgba(11, 122, 64, 0.18);
}

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

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

.brand-ticker {
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.82rem;
}

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

.site-nav a {
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  background: var(--green-soft);
}

.nav-buy {
  background: var(--green);
  color: var(--charcoal);
  box-shadow: 0 4px 0 var(--green-forest);
  margin-left: 6px;
}

.nav-buy:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--charcoal);
  border-radius: 14px;
  background: var(--white);
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 99px;
  background: var(--charcoal);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }

body.nav-open .nav-toggle span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

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

body.nav-open .nav-toggle span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 16px;
  font-weight: 800;
  border: 2px solid var(--charcoal);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-buy {
  background: var(--green);
  box-shadow: 0 6px 0 var(--green-forest);
}

.btn-secondary,
.btn-ghost,
.btn-on-green {
  background: var(--white);
  box-shadow: 0 6px 0 #cfc6b6;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
}

.btn-on-green {
  background: var(--cream);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--green-forest);
}

.btn-secondary:active,
.btn-ghost:active,
.btn-on-green:active {
  box-shadow: 0 2px 0 #cfc6b6;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #7fd4ff 0%, var(--sky-mid) 28%, #eef9e4 58%, #b6e67a 78%, var(--grass) 100%);
  padding: 28px 0 0;
}

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

.sun {
  position: absolute;
  top: 28px;
  right: 12%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7c2, #ffd24a 55%, #ffb703);
  box-shadow: 0 0 0 12px rgba(255, 220, 80, 0.25);
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 40px;
  opacity: 0.9;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.cloud-a {
  width: 120px;
  height: 36px;
  top: 48px;
  left: 8%;
  animation: drift 18s linear infinite;
}

.cloud-a::before { width: 46px; height: 46px; top: -24px; left: 16px; }
.cloud-a::after { width: 34px; height: 34px; top: -16px; left: 52px; }

.cloud-b {
  width: 90px;
  height: 28px;
  top: 92px;
  right: 28%;
  animation: drift 22s linear infinite reverse;
}

.cloud-b::before { width: 36px; height: 36px; top: -18px; left: 14px; }
.cloud-b::after { width: 28px; height: 28px; top: -12px; left: 42px; }

.cloud-c {
  width: 70px;
  height: 22px;
  top: 36px;
  left: 38%;
  animation: drift 26s linear infinite;
}

.cloud-c::before { width: 28px; height: 28px; top: -14px; left: 10px; }

.hero-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px 32px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-bottom: 28px;
}

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  max-width: 11ch;
}

.hero-ticker {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--green-forest);
}

.hero-hook {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.05;
}

.hero-lede {
  margin-top: 16px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  max-width: 36ch;
}

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

.ca-module {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 16px;
  padding: 8px 8px 8px 14px;
  box-shadow: 0 6px 0 rgba(23, 26, 22, 0.08);
}

.ca-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.ca-value {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-weight: 700;
  font-size: 1rem;
  word-break: break-all;
}

.copy-btn {
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: var(--charcoal);
  font-weight: 800;
  box-shadow: 0 3px 0 var(--green-forest);
  transition: transform 0.15s ease, background 0.15s ease;
}

.copy-btn:hover {
  transform: translateY(-2px);
  background: var(--green-bright);
}

.copy-btn.is-copied {
  background: var(--charcoal);
  color: var(--green-bright);
  box-shadow: none;
}

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 420px;
}

.mascot-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  overflow: visible;
}

.hero-mascot {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 24px rgba(20, 70, 25, 0.22));
  animation: bob 3.6s ease-in-out infinite;
  transform-origin: 50% 90%;
}

.paw {
  position: absolute;
  width: 34px;
  height: 34px;
  background:
    radial-gradient(circle at 50% 68%, var(--green-deep) 0 38%, transparent 39%),
    radial-gradient(circle at 18% 38%, var(--green-deep) 0 16%, transparent 17%),
    radial-gradient(circle at 40% 18%, var(--green-deep) 0 16%, transparent 17%),
    radial-gradient(circle at 64% 18%, var(--green-deep) 0 16%, transparent 17%),
    radial-gradient(circle at 84% 38%, var(--green-deep) 0 16%, transparent 17%);
  opacity: 0.35;
  transform: translate(var(--px, 0px), var(--py, 0px)) rotate(var(--rot, -12deg));
  animation: pawdrift 7s ease-in-out infinite;
  z-index: 1;
}

.paw-a { top: 8%; left: 6%; --rot: -18deg; }
.paw-b { top: 18%; right: 4%; animation-delay: -2s; --rot: 16deg; }
.paw-c { bottom: 22%; left: 2%; animation-delay: -4s; --rot: 8deg; }

.capsule {
  position: absolute;
  width: 34px;
  height: 16px;
  border-radius: 99px;
  border: 2px solid var(--charcoal);
  background: linear-gradient(90deg, #fff 50%, var(--green) 50%);
  z-index: 1;
  transform: translate(var(--px, 0px), var(--py, 0px)) rotate(-12deg);
  animation: capspin 8s ease-in-out infinite;
}

.cap-a { top: 28%; right: 8%; }
.cap-b { bottom: 30%; left: 10%; animation-delay: -3s; }

.yard-sign {
  position: absolute;
  right: 4%;
  bottom: 8%;
  z-index: 3;
  width: 72px;
  height: 86px;
  background: #c9853a;
  border: 3px solid var(--charcoal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
  box-shadow: 0 8px 0 #7a4a16;
}

.yard-sign::before {
  content: "";
  position: absolute;
  bottom: -28px;
  width: 8px;
  height: 28px;
  background: #7a4a16;
  border-radius: 0 0 3px 3px;
}

.fence {
  position: relative;
  z-index: 3;
  height: 54px;
  background:
    repeating-linear-gradient(
      90deg,
      #fff8ef 0 14px,
      #171a16 14px 16px,
      #fff8ef 16px 30px
    );
  border-top: 6px solid #fff8ef;
  box-shadow: 0 -2px 0 #171a16;
  filter: drop-shadow(0 -1px 0 #171a16);
}

.fence::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 6px;
  background: #fff8ef;
  box-shadow: 0 1px 0 #171a16, 0 -1px 0 #171a16;
}

.grass-edge {
  height: 28px;
  background: radial-gradient(12px 18px at 12px 0, var(--grass) 12px, transparent 13px) 0 0 / 24px 28px;
  background-color: var(--grass-deep);
}

/* Story */

.story {
  background: var(--off-white);
  padding: 88px 16px 72px;
  position: relative;
}

.story::before {
  content: "";
  position: absolute;
  inset: 18px 14px auto 14px;
  height: 14px;
  border-radius: 10px 10px 0 0;
  background: repeating-linear-gradient(90deg, #d7c7a8 0 18px, #cbb896 18px 20px);
  opacity: 0.55;
}

.story-lede {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.story-path {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  position: relative;
}

.paw-trail {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 6px;
  margin-left: -3px;
  background: repeating-linear-gradient(
    180deg,
    var(--green) 0 10px,
    transparent 10px 22px
  );
  opacity: 0.28;
  border-radius: 99px;
}

.beat {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: center;
  background: var(--cream);
  border: 3px solid var(--charcoal);
  border-radius: 28px;
  padding: 18px 22px;
  box-shadow: 0 10px 0 rgba(23, 26, 22, 0.08);
  position: relative;
  z-index: 1;
}

.beat:nth-of-type(odd) {
  margin-right: 8%;
}

.beat:nth-of-type(even) {
  margin-left: 8%;
  grid-template-columns: 1fr 140px;
}

.beat:nth-of-type(even) .motif {
  order: 2;
}

.beat-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green-forest);
  margin-bottom: 8px;
}

.beat h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.motif {
  display: grid;
  place-items: center;
  min-height: 110px;
}

.css-house {
  position: relative;
  width: 92px;
  height: 92px;
}

.css-house .chimney {
  position: absolute;
  right: 16px;
  top: 4px;
  width: 14px;
  height: 22px;
  background: var(--green-deep);
  border: 2px solid var(--charcoal);
  border-radius: 4px 4px 0 0;
}

.css-house .roof {
  position: absolute;
  top: 16px;
  left: 4px;
  width: 84px;
  height: 36px;
  background: var(--green);
  border: 3px solid var(--charcoal);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.css-house .walls {
  position: absolute;
  left: 16px;
  bottom: 0;
  width: 60px;
  height: 42px;
  background: var(--white);
  border: 3px solid var(--charcoal);
  border-radius: 4px 4px 6px 6px;
}

.css-house .win,
.css-house .door {
  position: absolute;
  background: #9adfff;
  border: 2px solid var(--charcoal);
}

.css-house .win {
  width: 14px;
  height: 14px;
  top: 8px;
  left: 8px;
}

.css-house .door {
  width: 14px;
  height: 20px;
  bottom: 0;
  right: 10px;
  background: #c9853a;
  border-bottom: 0;
}

.css-window {
  width: 86px;
  height: 86px;
  background: #bfe8ff;
  border: 6px solid #efe6d6;
  outline: 3px solid var(--charcoal);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.css-window .sash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--charcoal), var(--charcoal)) 50% 0 / 3px 100% no-repeat,
    linear-gradient(var(--charcoal), var(--charcoal)) 0 50% / 100% 3px no-repeat;
}

.css-window .cat-loaf {
  position: absolute;
  width: 34px;
  height: 18px;
  left: 26px;
  bottom: 16px;
  background: #2a2d28;
  border-radius: 16px 16px 10px 10px;
}

.css-window .cat-loaf::before,
.css-window .cat-loaf::after {
  content: "";
  position: absolute;
  background: #2a2d28;
}

.css-window .cat-loaf::before {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  top: -7px;
  left: 6px;
  transform: rotate(-18deg);
}

.css-window .cat-loaf::after {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  top: -7px;
  right: 8px;
  transform: rotate(18deg);
}

.css-window .sill {
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -10px;
  height: 10px;
  background: #efe6d6;
  border-top: 2px solid var(--charcoal);
}

.css-door {
  width: 52px;
  height: 88px;
  background: linear-gradient(#19e878, #00a854);
  border: 3px solid var(--charcoal);
  border-radius: 8px 8px 4px 4px;
  position: relative;
}

.css-door .knob {
  position: absolute;
  right: 8px;
  top: 42px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffe08a;
  border: 2px solid var(--charcoal);
}

.css-door .mail {
  position: absolute;
  left: 10px;
  top: 18px;
  width: 22px;
  height: 14px;
  background: #c8ecff;
  border: 2px solid var(--charcoal);
  border-radius: 3px;
}

.css-door .bark {
  position: absolute;
  right: -28px;
  top: 10px;
  width: 26px;
  height: 22px;
  border: 2px solid var(--charcoal);
  background: #fff;
  border-radius: 14px 14px 14px 4px;
}

.css-door .bark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--green);
}

.css-yard {
  width: 96px;
  height: 86px;
  position: relative;
}

.css-yard .mini-fence {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 28px;
  background: repeating-linear-gradient(90deg, #fff 0 8px, #171a16 8px 10px);
  border-top: 4px solid #fff;
  border-bottom: 3px solid var(--charcoal);
}

.css-yard .bowl {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 28px;
  height: 12px;
  background: #d0d4d8;
  border: 2px solid var(--charcoal);
  border-radius: 0 0 14px 14px;
}

.css-yard .bone {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 28px;
  height: 10px;
  background: #fff;
  border: 2px solid var(--charcoal);
  border-radius: 99px;
}

.css-yard .bone::before,
.css-yard .bone::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--charcoal);
  border-radius: 50%;
  background: #fff;
  top: -4px;
}

.css-yard .bone::before { left: -6px; }
.css-yard .bone::after { right: -6px; }

/* Family rule */

.family-rule {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #e7f7c8 0%, #b6e67a 40%, var(--grass) 100%);
  padding: 84px 16px 96px;
  text-align: center;
}

.rule-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rule-flow {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 8px;
}

.rule-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 22px;
  background: var(--white);
  border: 3px solid var(--charcoal);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  box-shadow: 0 8px 0 var(--green-forest);
}

.rule-arrow {
  font-size: 2rem;
  font-weight: 800;
  color: var(--charcoal);
  transform: rotate(-90deg);
}

.rule-footer {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.rule-grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  background: radial-gradient(14px 20px at 12px 0, var(--grass-deep) 12px, transparent 13px) 0 0 / 28px 36px;
}

/* Cat vs dog */

.species {
  background: var(--cream);
  padding: 72px 16px 80px;
}

.species-split {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  position: relative;
}

.species-panel {
  border: 3px solid var(--charcoal);
  border-radius: 32px;
  padding: 36px 28px;
  min-height: 280px;
}

.cat-panel {
  background: #fffdf8;
  box-shadow: 0 12px 0 #d7c7a8;
}

.dog-panel {
  background: var(--green-soft);
  box-shadow: 0 12px 0 var(--green-forest);
}

.species-label {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.species-panel ul {
  list-style: none;
  padding: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.7;
}

.species-center {
  width: 86px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.species-fence {
  width: 18px;
  height: 100%;
  background: repeating-linear-gradient(#fff8ef 0 16px, #171a16 16px 18px);
  border-left: 3px solid var(--charcoal);
  border-right: 3px solid var(--charcoal);
  border-radius: 8px;
}

.species-punch {
  position: absolute;
  z-index: 2;
  width: 210px;
  text-align: center;
  background: var(--charcoal);
  color: var(--green-bright);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
  padding: 16px 12px;
  border-radius: 18px;
  box-shadow: 0 8px 0 var(--green-forest);
}

.species-sub {
  width: min(680px, 100%);
  margin: 36px auto 0;
  text-align: center;
  font-size: 1.12rem;
  font-weight: 700;
}

/* Banner */

.banner-break {
  background: var(--grass);
  line-height: 0;
}

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

/* Chart */

.chart {
  background:
    linear-gradient(180deg, #dff3ff 0%, var(--sky-mid) 40%, #eef8e6 100%);
  padding: 84px 16px 88px;
  text-align: center;
}

.chart-sub {
  font-size: 1.15rem;
  font-weight: 700;
}

.chart-window {
  width: min(1080px, 100%);
  margin: 0 auto 24px;
  background: #fff8ef;
  border: 4px solid var(--charcoal);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 10px rgba(255, 248, 239, 0.7);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(#fff, #efe6d6);
  border-bottom: 3px solid var(--charcoal);
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--charcoal);
}

.window-bar span:nth-child(1) { background: #ff8a80; }
.window-bar span:nth-child(2) { background: #ffd54a; }
.window-bar span:nth-child(3) { background: var(--green); }

.dex-frame {
  position: relative;
  width: 100%;
  padding-bottom: 118%;
  background: #fff;
}

.dex-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.window-sill {
  height: 18px;
  background: linear-gradient(#efe6d6, #d7c7a8);
  border-top: 2px solid var(--charcoal);
}

.chart-open {
  margin-top: 8px;
}

/* Door CTA */

.door-cta {
  position: relative;
  overflow: hidden;
  padding: 88px 16px 72px;
  background:
    linear-gradient(180deg, #9adfff 0%, #d7f0ff 36%, #d8f3a8 68%, var(--grass) 100%);
  text-align: center;
}

.door-wrap {
  width: min(640px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.door-wrap h2 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin: 8px 0 28px;
}

.door-panel {
  position: relative;
  background: linear-gradient(180deg, #1ee87a, #00b85c 55%, #00924a);
  border: 4px solid var(--charcoal);
  border-radius: 28px 28px 12px 12px;
  padding: 36px 24px 48px;
  box-shadow: 0 22px 0 var(--green-forest);
  color: var(--charcoal);
}

.door-window {
  display: block;
  width: 84px;
  height: 54px;
  margin: 0 auto 16px;
  background: #c8ecff;
  border: 3px solid var(--charcoal);
  border-radius: 10px;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.35);
}

.door-panel .state-pill {
  margin-bottom: 12px;
}

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

.door-ticker {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
}

.door-chain {
  font-weight: 800;
  margin: 4px 0 16px;
}

.door-ca {
  justify-content: center;
  margin: 0 auto 20px;
  width: fit-content;
  max-width: 100%;
}

.door-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.door-knob {
  position: absolute;
  right: 18px;
  top: 48%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffe08a;
  border: 3px solid var(--charcoal);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.welcome-mat {
  margin: 36px auto 0;
  width: min(280px, 90%);
  height: 44px;
  background: #8b3a2a;
  color: #f3d2c4;
  border: 3px solid var(--charcoal);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  box-shadow: 0 8px 0 #5a241a;
}

/* Footer */

.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 48px 16px 32px;
}

.footer-inner {
  width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  justify-content: center;
  margin-bottom: 16px;
}

.footer-brand .brand-name,
.footer-brand .brand-ticker {
  color: var(--cream);
}

.footer-brand .brand-ticker {
  color: var(--green-bright);
}

.footer-tag {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.footer-links a {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 248, 239, 0.2);
  font-weight: 800;
}

.footer-links a:hover {
  background: var(--green);
  color: var(--charcoal);
  border-color: var(--green);
}

.disclaimer {
  font-size: 0.92rem;
  color: #c5cbbd;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Animations */

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

@keyframes drift {
  0% { transform: translateX(0); }
  50% { transform: translateX(24px); }
  100% { transform: translateX(0); }
}

@keyframes pawdrift {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

@keyframes capspin {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}

/* Responsive */

@media (min-width: 1400px) {
  .dex-frame {
    padding-bottom: 62%;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    order: 1;
  }

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

  .hero-copy h1,
  .hero-lede,
  .ca-module {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lede {
    max-width: none;
  }

  .hero-actions,
  .ca-module {
    justify-content: center;
    align-items: center;
  }

  .ca-row {
    justify-content: center;
  }

  .mascot-wrap {
    width: min(100%, 420px);
  }

  .species-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .species-center {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 8px 0;
  }

  .species-fence {
    display: none;
  }

  .species-punch {
    position: static;
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .beat:nth-of-type(odd),
  .beat:nth-of-type(even) {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px 16px 18px;
    background: var(--cream);
    border-bottom: 3px solid var(--charcoal);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--charcoal);
  }

  .nav-buy {
    margin-left: 0;
  }

  .rule-arrow {
    transform: rotate(0deg);
    width: 100%;
  }

  .rule-flow {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .hero-grid {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .beat,
  .beat:nth-of-type(even) {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .beat:nth-of-type(even) .motif {
    order: 0;
  }

  .paw-trail {
    display: none;
  }

  .hero-actions .btn,
  .door-actions .btn {
    width: 100%;
  }

  .dex-frame {
    padding-bottom: 160%;
  }

  .door-knob {
    display: none;
  }

  .ca-row {
    width: 100%;
  }

  .copy-btn {
    margin-left: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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