/* ============================================================
   Climby AI SEO — landing page styles
   Palette sampled directly from the logo
   ============================================================ */
:root {
  /* brand greens (from logo) */
  --forest:        #0b3d1f;   /* deep wordmark green */
  --forest-deep:   #062914;
  --forest-soft:   #14492a;
  --leaf:          #54bb2b;   /* mascot body */
  --leaf-bright:   #6ccb33;
  --leaf-dark:     #3f9d20;
  --lime:          #9bcf1e;   /* highlight / SEO badge */
  --lime-soft:     #c7e86a;
  --coral:         #f58e8e;   /* cheeks accent */

  /* neutrals */
  --cream:         #f4fbee;
  --cream-2:       #eef7e4;
  --white:         #ffffff;
  --ink:           #0b3d1f;
  --muted:         #5a6f5c;
  --line:          #e0ecd6;

  --radius:        18px;
  --radius-lg:     26px;
  --shadow-sm:     0 2px 8px rgba(11,61,31,.06);
  --shadow:        0 14px 40px rgba(11,61,31,.10);
  --shadow-lg:     0 30px 70px rgba(11,61,31,.16);
  --ring:          0 0 0 4px rgba(84,187,43,.18);

  --maxw: 1180px;
  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--leaf);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: .72em 1.35em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { transition: transform .2s ease; }
.btn--primary {
  background: var(--leaf);
  color: #fff;
  box-shadow: 0 8px 22px rgba(84,187,43,.35);
}
.btn--primary:hover { background: var(--leaf-bright); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(84,187,43,.45); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--leaf);
}
.btn--outline:hover { background: rgba(84,187,43,.10); transform: translateY(-2px); }
.btn--outline-light { color: #eafce0; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--ghost { background: transparent; color: var(--forest); padding: .6em 1em; }
.btn--ghost:hover { color: var(--leaf-dark); }
.btn--dark { background: var(--forest); color: #eafce0; }
.btn--dark:hover { background: var(--forest-soft); transform: translateY(-2px); }
.btn--lg { font-size: 1.06rem; padding: .85em 1.6em; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--forest);
  font-weight: 600;
  font-size: .82rem;
  padding: .45em .9em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(84,187,43,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(84,187,43,.25); } 50% { box-shadow: 0 0 0 6px rgba(84,187,43,0); } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: 16px;              /* small room above the logo for Climby's bubble */
  background: rgba(244,251,238,.78);
  backdrop-filter: saturate(140%) blur(12px);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(11,61,31,.08); background: rgba(244,251,238,.92); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__brand { position: relative; display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.nav__logo {
  height: 56px; width: 56px; object-fit: contain;
  transform-origin: 50% 88%;
  animation: climbyBob 3.4s ease-in-out infinite;
}
.brand__wordmark { height: 33px; width: auto; display: block; }

/* Climby's speech bubble — text + timing driven by JS (partials.js) */
.climby-calm {
  position: absolute;
  left: 4px; top: auto;
  bottom: calc(100% + 3px);       /* sit ABOVE the logo so it never covers the wordmark */
  z-index: 20;
  padding: 4px 10px;
  white-space: nowrap;            /* always ONE line so it never blocks the logo */
  font-size: .68rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  color: var(--leaf-dark);
  background: #fff;
  border: 1.5px solid var(--leaf);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(11,61,31,.18);
  opacity: 0; transform: translateY(6px) scale(.5);
  transform-origin: 0 100%;
  pointer-events: none;
}
.climby-calm::after {
  content: ""; position: absolute; left: 12px; bottom: -5px;
  width: 8px; height: 8px; background: #fff;
  border-right: 1.5px solid var(--leaf); border-bottom: 1.5px solid var(--leaf);
  transform: rotate(45deg);
}
/* JS adds .show → pop in fast, hold ~7s, fade */
.climby-calm.show { animation: climbyCalmPop 7.6s ease both; }
/* JS adds .hint on load → a persistent "try me" nudge that gently bobs until first interaction */
.climby-calm.hint {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: climbyHintBob 2.4s ease-in-out infinite;
}
@keyframes climbyHintBob {
  0%, 100% { opacity: 1; transform: translateY(0) scale(1); }
  50%      { opacity: 1; transform: translateY(-3px) scale(1.05); }
}

/* Climby mascot — cute idle bob */
@keyframes climbyBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%      { transform: translateY(-3px) rotate(-3.5deg); }
  62%      { transform: translateY(-1px) rotate(3.5deg); }
}
/* The fun one: frantic shake -> deep breath -> calm settle */
@keyframes climbyShakeCalm {
  0%   { transform: translate(0,0) rotate(0deg); }
  4%   { transform: translate(-3px,1px)  rotate(-9deg); }
  8%   { transform: translate(3px,-1px)  rotate(9deg); }
  12%  { transform: translate(-4px,0)    rotate(-10deg); }
  16%  { transform: translate(4px,1px)   rotate(10deg); }
  20%  { transform: translate(-4px,-1px) rotate(-9deg); }
  24%  { transform: translate(4px,1px)   rotate(9deg); }
  28%  { transform: translate(-4px,0)    rotate(-10deg); }
  32%  { transform: translate(4px,-1px)  rotate(10deg); }
  36%  { transform: translate(-3px,1px)  rotate(-8deg); }
  40%  { transform: translate(3px,0)     rotate(8deg); }
  44%  { transform: translate(-3px,-1px) rotate(-6deg); }
  48%  { transform: translate(2px,1px)   rotate(6deg); }
  52%  { transform: translate(-2px,0)    rotate(-4deg); }
  56%  { transform: translate(1px,0)     rotate(2deg); }
  /* deep breath in */
  66%  { transform: translate(0,-5px) scale(1.07) rotate(0deg); }
  /* let it out, settle */
  80%  { transform: translate(0,1px)  scale(.98)  rotate(0deg); }
  90%  { transform: translate(0,-1px) scale(1)    rotate(0deg); }
  100% { transform: translate(0,0)    scale(1)    rotate(0deg); }
}
/* Bubble: pop in fast, hold ~7s, fade. Total 7.6s. */
@keyframes climbyCalmPop {
  0%   { opacity: 0; transform: translateY(6px) scale(.5); }
  4%   { opacity: 1; transform: translateY(-2px) scale(1.12); }
  7%   { opacity: 1; transform: translateY(0) scale(1); }
  95%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-3px) scale(.92); }
}

/* ---- Hover animation library — JS adds one .climby-act--* at random ---- */
.climby-act--shake    { animation: climbyShakeCalm 2s cubic-bezier(.36,.07,.19,.97) both !important; }
.climby-act--wobble   { animation: climbyWobble 1s ease-in-out both !important; }
.climby-act--spin     { animation: climbySpin 1s cubic-bezier(.5,.05,.3,1) both !important; transform-origin: 50% 55% !important; }
.climby-act--pogo     { animation: climbyPogo 1.1s cubic-bezier(.3,1.25,.5,1) both !important; }
.climby-act--tada     { animation: climbyTada 1s ease both !important; }
.climby-act--rubber   { animation: climbyRubber 1s ease both !important; }
.climby-act--backflip { animation: climbyBackflip 1.15s cubic-bezier(.5,.05,.3,1) both !important; transform-origin: 50% 60% !important; }
.climby-act--dizzy    { animation: climbyDizzy 1.5s ease-in-out both !important; }
.climby-act--climb    { animation: climbyClimb 1.4s cubic-bezier(.4,.1,.4,1) both !important; }
.climby-act--excited  { animation: climbyExcited 1.1s ease-in-out both !important; }

@keyframes climbyWobble {
  0%,100% { transform: translateX(0) rotate(0); }
  15% { transform: translateX(-6px) rotate(-9deg); }
  30% { transform: translateX(5px) rotate(7deg); }
  45% { transform: translateX(-4px) rotate(-5deg); }
  60% { transform: translateX(3px) rotate(4deg); }
  75% { transform: translateX(-2px) rotate(-2deg); }
}
@keyframes climbySpin {
  0% { transform: rotate(0) scale(1); }
  55% { transform: rotate(215deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes climbyPogo {
  0%,100% { transform: translateY(0) scale(1,1); }
  15% { transform: translateY(0) scale(1.14,.82); }
  42% { transform: translateY(-16px) scale(.9,1.12); }
  58% { transform: translateY(-16px) scale(.9,1.12); }
  78% { transform: translateY(0) scale(1.1,.86); }
  90% { transform: translateY(0) scale(.98,1.02); }
}
@keyframes climbyTada {
  0% { transform: scale(1) rotate(0); }
  10%,20% { transform: scale(.9) rotate(-4deg); }
  30%,50%,70%,90% { transform: scale(1.13) rotate(4deg); }
  40%,60%,80% { transform: scale(1.13) rotate(-4deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes climbyRubber {
  0% { transform: scale(1,1); }
  30% { transform: scale(1.25,.75); }
  40% { transform: scale(.75,1.25); }
  50% { transform: scale(1.15,.85); }
  65% { transform: scale(.95,1.05); }
  75% { transform: scale(1.05,.95); }
  100% { transform: scale(1,1); }
}
@keyframes climbyBackflip {
  0% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-18px) rotate(-200deg); }
  100% { transform: translateY(0) rotate(-360deg); }
}
@keyframes climbyDizzy {
  0%,100% { transform: rotate(0) translateX(0); }
  20% { transform: rotate(12deg) translateX(3px); }
  40% { transform: rotate(-12deg) translateX(-3px); }
  60% { transform: rotate(9deg) translateX(2px); }
  80% { transform: rotate(-6deg) translateX(-1px); }
}
@keyframes climbyClimb {
  0% { transform: translateY(0) rotate(0); }
  20% { transform: translateY(-5px) rotate(-6deg); }
  40% { transform: translateY(-9px) rotate(6deg); }
  60% { transform: translateY(-13px) rotate(-6deg); }
  80% { transform: translateY(-6px) rotate(4deg); }
  100% { transform: translateY(0) rotate(0); }
}
@keyframes climbyExcited {
  0%,100% { transform: translateY(0) scale(1); }
  10% { transform: translateY(-6px) scale(1.05); }
  20% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-6px) scale(1.05); }
  40% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
  60% { transform: translateY(0) scale(1); }
}
.nav__links { display: flex; gap: 28px; margin-left: 14px; }
.nav__links a { font-weight: 500; color: var(--forest-soft); font-size: .96rem; transition: color .15s; }
.nav__links a:hover { color: var(--leaf-dark); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav__burger span { width: 24px; height: 2.5px; background: var(--forest); border-radius: 2px; transition: .25s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  background: rgba(244,251,238,.98);
  border-top: 1px solid transparent;
}
.nav__mobile.is-open { max-height: 460px; padding: 16px 24px 24px; border-top: 1px solid var(--line); }
.nav__mobile a { padding: 10px 4px; font-weight: 500; color: var(--forest-soft); }
.nav__mobile .btn { margin-top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -240px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(circle at center, rgba(155,207,30,.30), rgba(84,187,43,.10) 45%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.2rem, 4.3vw, 3.2rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 22px 0 18px;
  color: var(--forest);
  text-wrap: balance;
}
.grad {
  background: linear-gradient(100deg, var(--leaf-dark), var(--leaf) 45%, var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero__sub strong { color: var(--forest); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.hero__trust li { display: flex; align-items: center; gap: 7px; color: var(--forest-soft); font-weight: 500; font-size: .92rem; }
.hero__trust svg { color: var(--leaf); }

/* hero visual */
.hero__visual { position: relative; min-width: 0; }
.hero__mascot {
  position: absolute;
  top: -64px; right: -10px;
  width: 130px;
  filter: drop-shadow(0 16px 22px rgba(11,61,31,.22));
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* product mockup */
.mock {
  position: relative;
  z-index: 2;
  max-width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero__visual:hover .mock { transform: perspective(1600px) rotateY(0) rotateX(0); }
.mock__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: #cdd9c4; }
.mock__dot:nth-child(1) { background: #f7a8a8; }
.mock__dot:nth-child(2) { background: #f3d27a; }
.mock__dot:nth-child(3) { background: var(--leaf); }
.mock__url {
  margin-left: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .72rem;
  color: var(--muted);
  padding: 4px 12px;
  flex: 1;
}
.mock__body { padding: 20px; }
.mock__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.mock__h { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--forest); }
.mock__hsub { font-size: .78rem; color: var(--muted); }
.mock__score {
  text-align: right;
  background: linear-gradient(135deg, var(--leaf), var(--lime));
  color: #fff;
  border-radius: 14px;
  padding: 8px 14px;
}
.mock__score span { display: block; font-size: .64rem; opacity: .9; text-transform: uppercase; letter-spacing: .04em; }
.mock__score strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1; }

.mock__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 13px;
  border: 1px solid var(--line);
  margin-bottom: 9px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.mock__row:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); }
.mock__title { font-weight: 600; font-size: .82rem; color: var(--forest); }
.mock__intent { font-size: .68rem; font-weight: 600; margin-top: 3px; display: inline-block; padding: 1px 8px; border-radius: 999px; }
.intent--info  { background: #e8f5fb; color: #2980b9; }
.intent--comm  { background: #fdf0e5; color: #c87f30; }
.intent--trans { background: #ecf7e6; color: var(--leaf-dark); }
.mbar { height: 7px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.mbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--leaf), var(--lime)); }
.tag { font-family: var(--font-head); font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tag--opt    { background: var(--leaf); color: #fff; }
.tag--create { background: var(--lime); color: var(--forest); }
.tag--keep   { background: var(--cream-2); color: var(--muted); }
.num { font-family: var(--font-head); font-weight: 700; color: var(--forest); width: 26px; text-align: right; }
.mock__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: .72rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--cream-2); color: var(--forest-soft); }
.chip--alt { background: rgba(84,187,43,.14); color: var(--leaf-dark); }
.chip--ghost { background: #fff; border: 1px solid var(--line); }

/* ============================================================
   PROOF
   ============================================================ */
.proof { padding: 8px 0 36px; }
.proof__label { text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.proof__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; }
.proof__logos span { font-family: var(--font-head); font-weight: 500; color: var(--forest-soft); opacity: .75; font-size: 1.05rem; }
.proof__logos .dot { color: var(--leaf); opacity: .5; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 92px 0; }
.section--alt { background: linear-gradient(180deg, #fff, var(--cream-2)); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--leaf-dark);
  background: rgba(84,187,43,.12);
  padding: .35em .9em;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--lime-soft); background: rgba(155,207,30,.16); }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--forest); }
.section__title--light { color: #fff; }
.section__lead { font-size: 1.12rem; color: var(--muted); margin-top: 16px; }

/* ---------- features ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(84,187,43,.4); }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  color: #fff;
}
.icon--leaf   { background: linear-gradient(135deg, var(--leaf), var(--leaf-bright)); }
.icon--lime   { background: linear-gradient(135deg, var(--lime), var(--lime-soft)); color: var(--forest); }
.icon--forest { background: linear-gradient(135deg, var(--forest), var(--forest-soft)); }
.icon--coral  { background: linear-gradient(135deg, var(--coral), #f7b0a0); }
.card h3 { font-size: 1.25rem; color: var(--forest); margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- steps ---------- */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step__num {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--leaf), var(--lime));
  box-shadow: 0 8px 18px rgba(84,187,43,.35);
}
.step h3 { font-size: 1.2rem; color: var(--forest); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }
.step__line { align-self: center; width: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--leaf) 0 7px, transparent 7px 14px); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan--featured {
  border: 2px solid var(--leaf);
  box-shadow: 0 24px 56px rgba(84,187,43,.22);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-5px); }
.plan--self { background: linear-gradient(180deg, #fff, var(--cream-2)); }
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--leaf), var(--lime));
  color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  padding: 5px 16px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(84,187,43,.4);
  white-space: nowrap;
}
.plan__head h3 { font-size: 1.5rem; color: var(--forest); }
.plan__desc { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.plan__price {
  font-family: var(--font-head); font-weight: 700;
  font-size: 3rem; color: var(--forest);
  margin: 18px 0 22px; line-height: 1;
}
.plan__price .cur { font-size: 1.4rem; vertical-align: super; margin-right: 2px; }
.plan__price .per { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan__price--free { color: var(--leaf-dark); font-size: 2.6rem; }
.plan__list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.plan__list li { position: relative; padding-left: 28px; color: var(--forest-soft); font-size: .95rem; }
.plan__list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(84,187,43,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%233f9d20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.plan__list li.muted { color: var(--muted); }
.plan__list li.muted::before { background-color: var(--cream-2); }

/* ============================================================
   SELF HOST
   ============================================================ */
.selfhost { background: radial-gradient(120% 120% at 0% 0%, var(--forest-soft), var(--forest) 45%, var(--forest-deep)); color: #eafce0; border-radius: 0; }
.selfhost__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.selfhost__copy, .selfhost__terminal { min-width: 0; }
.selfhost__lead { color: #c4dcb8; font-size: 1.1rem; margin: 16px 0 22px; max-width: 520px; }
.selfhost__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.selfhost__list li { display: flex; align-items: center; gap: 10px; color: #e3f5d8; font-weight: 500; }
.selfhost__list svg { color: var(--lime); flex-shrink: 0; }
.selfhost__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.term { max-width: 100%; background: #07210f; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(155,207,30,.18); }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #0b2c16; border-bottom: 1px solid rgba(255,255,255,.06); }
.term__title { margin-left: 8px; font-size: .74rem; color: #8fae84; font-family: var(--font-head); }
.term__body { padding: 22px; font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.85; color: #cfe9c0; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.c--prompt { color: var(--lime); font-weight: 700; }
.c--muted  { color: #6f8c64; }
.c--ok     { color: var(--leaf-bright); font-weight: 700; }
.c--leaf   { color: var(--lime-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(84,187,43,.4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--forest);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--leaf); border-radius: 2px; transition: transform .25s ease; }
.faq__plus::before { top: 8px; left: 0; width: 18px; height: 2.5px; }
.faq__plus::after { left: 8px; top: 0; width: 2.5px; height: 18px; }
.faq details[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { color: var(--muted); padding: 0 0 20px; margin-top: -4px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 30px 0 100px; }
.cta__inner {
  position: relative;
  text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, var(--leaf) 0%, var(--leaf-dark) 55%, var(--forest-soft) 100%);
  color: #fff;
  border-radius: 34px;
  padding: 72px 30px 64px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta__mascot { width: 88px; margin: 0 auto 16px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.25)); animation: float 5s ease-in-out infinite; }
.cta h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.cta p { font-size: 1.15rem; color: #eafce0; margin: 12px auto 28px; max-width: 480px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta .btn--primary { background: #fff; color: var(--forest); box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.cta .btn--primary:hover { background: var(--cream); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--forest-deep); color: #b6cfa8; padding: 64px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__lockup { position: relative; display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer__logo {
  height: 56px; width: 56px; object-fit: contain;
  transform-origin: 50% 88%;
  animation: climbyBob 3.4s ease-in-out infinite;
}
/* footer mascot hover animation is JS-driven (shared .climby-act--* + .climby-calm.show) */
.brand__wordmark--footer { height: 33px; }
.footer__brand p { max-width: 320px; font-size: .95rem; color: #91ad84; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); margin-bottom: 14px; }
.footer__col a { display: block; padding: 6px 0; color: #b6cfa8; font-size: .94rem; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: .85rem; color: #7e9a72; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__mascot, .cta__mascot, .pill__dot, .nav__logo, .footer__logo,
  [class*="climby-act--"] { animation: none !important; }
  .climby-calm { display: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__mascot { width: 100px; top: -54px; right: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-5px); }
  .selfhost__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .step__line { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn, .selfhost__actions .btn { width: 100%; }
  .hero__actions, .cta__actions, .selfhost__actions { width: 100%; }
  .mock__row { grid-template-columns: 1.3fr auto auto; }
  .mock__bars { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .cta__inner { padding: 56px 22px; }
  .brand__wordmark { display: none; }
}
