/* ==========================================================================
   WunderWild marketing site — cozy craft / field-journal design system
   ========================================================================== */

:root {
  --paper: #FDFBF2;
  --cream: #FBF3D8;
  --tan: #DCC89E;
  --sage: #B8C9BE;
  --mint: #E8F4EC;
  --ink: #1A3A2F;
  --slate: #5E7268;
  --leaf-300: #9AD46E;
  --leaf-500: #7BC142;
  --leaf-600: #5FA836;
  --leaf-700: #4E9A3C;
  --sky-700: #3E76B4;
  --sky-500: #4A88C8;
  --sky-400: #6FA8E8;
  --sky-200: #A9DDF5;
  --coral-400: #FF8A5B;
  --coral-600: #E06840;
  --sun-400: #FFD34E;
  --sun-600: #E6B84D;
  --violet-600: #6D4FB0;
  --violet-tint: rgba(155, 126, 222, .15);
  --wood-light: #C89B6A;
  --wood-dark: #9C734A;
  --photo-stitch: #BFBFBF;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --spring-soft: cubic-bezier(.34, 1.4, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* Base ------------------------------------------------------------------- */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Nunito Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--sky-500); text-decoration: none; }
a:hover { color: var(--coral-600); }
img { user-select: none; -webkit-user-drag: none; }
h1, h2, h3, p { margin: 0; }

/* Keyframes -------------------------------------------------------------- */

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes bob { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(125vw); } }
@keyframes scan {
  0% { top: -30%; opacity: 0; }
  12% { opacity: 1; }
  55% { top: 105%; opacity: 1; }
  70%, 100% { top: 105%; opacity: 0; }
}
@keyframes tilepan { from { background-position: 0 0; } to { background-position: 600px 300px; } }
@keyframes wiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes slotpop {
  0% { transform: scale(0) rotate(-8deg); }
  70% { transform: scale(1.18) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes qflip { 0%, 42%, 100% { opacity: 1; } 46%, 96% { opacity: 0; } }
@keyframes aflip {
  0%, 42%, 100% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  56%, 92% { transform: scale(1); opacity: 1; }
  96% { transform: scale(0); opacity: 0; }
}
/* Shared section bits ---------------------------------------------------- */

.section { padding: clamp(72px, 10vh, 110px) clamp(20px, 4vw, 40px); }
.container { max-width: 1180px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  font: 800 11px 'Nunito Sans';
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--leaf-700);
  margin-bottom: 10px;
}
.eyebrow--orange { color: var(--coral-600); }
.eyebrow--blue { color: var(--sky-500); }
.section-h2 { font: 600 clamp(32px, 4.4vw, 48px)/1.1 Fredoka; color: var(--ink); }
.lede {
  margin: 14px auto 0;
  max-width: 52ch;
  font: 600 17px/1.6 'Nunito Sans';
  color: var(--slate);
  text-wrap: pretty;
}

.tile-texture {
  position: absolute;
  inset: -25%;
  background-size: 300px;
  transform: rotate(-8deg);
  pointer-events: none;
}

/* Store buttons (hero + closing CTA) ------------------------------------- */

.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-buttons--center { justify-content: center; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  border: 2px dashed rgba(253, 251, 242, .35);
  border-radius: 999px;
  padding: 11px 24px 11px 18px;
  box-shadow: 0 10px 24px rgba(26, 58, 47, .3);
  transition: transform .25s var(--spring);
}
.store-btn:hover { transform: translateY(-3px) scale(1.04); }
.store-btn:active { transform: scale(.95); }
.store-btn i { font-size: 27px; color: var(--paper); }
.store-btn i.ph-google-play-logo { font-size: 26px; }
.store-btn-small {
  display: block;
  font: 700 10px 'Nunito Sans';
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(253, 251, 242, .7);
}
.store-btn-big { display: block; font: 600 19px Fredoka; color: var(--paper); }

/* Nav -------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 44px);
  background: rgba(253, 251, 242, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px dashed rgba(220, 200, 158, .75);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 38px; display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav-links a { font: 500 15px Fredoka; color: var(--ink); transition: color .2s; }
.nav-links a:hover { color: var(--coral-600); }
.nav-cta {
  font: 600 15px Fredoka;
  color: var(--paper);
  background: linear-gradient(180deg, var(--coral-400), var(--coral-600));
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px dashed rgba(253, 251, 242, .45);
  box-shadow: 0 6px 16px rgba(224, 104, 64, .35);
  transition: transform .25s var(--spring), box-shadow .25s;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  color: var(--paper);
  box-shadow: 0 10px 22px rgba(224, 104, 64, .45);
}
.nav-cta:active { transform: scale(.95); }

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #3E76B4 0%, #4A88C8 42%, #6FA8E8 78%, #A9DDF5 100%);
}
.hero-texture {
  background-image: url('../assets/naturebg_white.png');
  opacity: .15;
  animation: tilepan 80s linear infinite;
}
.cloud { position: absolute; left: -280px; pointer-events: none; }
.cloud-1 { top: 6%; width: 250px; opacity: .85; animation: drift 70s linear -12s infinite; }
.cloud-2 { top: 16%; width: 150px; opacity: .55; animation: drift 95s linear -55s infinite; }
.cloud-3 { top: 2%; width: 190px; opacity: .7; animation: drift 82s linear -33s infinite; }
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 88px) clamp(20px, 4vw, 40px) 150px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-left { flex: 1 1 460px; min-width: 300px; max-width: 620px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 58, 47, .28);
  border: 2px dashed rgba(253, 251, 242, .4);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}
.hero-badge i { font-size: 17px; color: var(--sun-400); }
.hero-badge span {
  font: 700 11px 'Nunito Sans';
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--paper);
}
.hero-logo {
  display: block;
  width: min(400px, 78vw);
  filter: drop-shadow(0 8px 18px rgba(26, 58, 47, .25));
}
.hero-h1 {
  margin: 18px 0 14px;
  font: 700 clamp(42px, 6.4vw, 76px)/1.04 Fredoka;
  color: var(--paper);
  text-shadow: 0 4px 0 rgba(26, 58, 47, .18);
}
.hero-h1 span { color: var(--sun-400); }
.hero-sub {
  margin: 0 0 30px;
  font: 600 clamp(16px, 2vw, 19px)/1.6 'Nunito Sans';
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(26, 58, 47, .45), 0 1px 2px rgba(26, 58, 47, .4);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero-note {
  margin: 16px 0 0;
  font: 700 13px 'Nunito Sans';
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(26, 58, 47, .45), 0 1px 2px rgba(26, 58, 47, .4);
}
.hero-right {
  flex: 0 1 460px;
  min-width: 300px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 36px 0;
}
.phone-bob { position: relative; z-index: 2; animation: bob 7s ease-in-out infinite; }
.phone {
  width: min(290px, 72vw);
  aspect-ratio: 9 / 19.2;
  background: var(--ink);
  border-radius: 46px;
  padding: 9px;
  box-shadow: 0 30px 60px rgba(26, 58, 47, .4), 0 0 0 2px rgba(253, 251, 242, .25);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--cream);
}
.phone-poster { position: absolute; inset: 0; }
.phone-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  background: var(--ink);
  border-radius: 999px;
}
.hero-snap {
  position: absolute;
  z-index: 3;
  bottom: 4px;
  left: max(-26px, -3vw);
  width: clamp(172px, 23vw, 228px);
}
.hero-snap-card {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 10px;
  padding: 8px 8px 26px;
  transform: rotate(-5deg);
  box-shadow: 0 16px 30px rgba(26, 58, 47, .28);
  border: 1px solid rgba(184, 201, 190, .5);
}
.hero-snap-plate {
  overflow: hidden;
  border-radius: 6px;
  border: 1.5px dashed var(--photo-stitch);
}
.hero-snap-plate img { width: 100%; height: auto; display: block; }
.hero-snap-stamp {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) rotate(2deg);
  background: var(--leaf-500);
  color: var(--paper);
  font: 600 12px Fredoka;
  padding: 5px 12px;
  border-radius: 999px;
  border: 2px dashed rgba(253, 251, 242, .55);
  white-space: nowrap;
  box-shadow: 0 6px 12px rgba(78, 154, 60, .35);
}
.hill { position: absolute; z-index: 1; border-radius: 50%; }
.hero .hill-1 { bottom: -50px; left: -15%; width: 75%; height: 230px; background: linear-gradient(180deg, #9AD46E, #7BC142); }
.hero .hill-2 { bottom: -80px; right: -18%; width: 85%; height: 260px; background: linear-gradient(180deg, #7BC142, #5FA836); }
.hero .hill-3 { bottom: -120px; left: 10%; width: 95%; height: 270px; background: linear-gradient(180deg, #5FA836, #4E9A3C); }
.hero-flower { position: absolute; z-index: 1; }
.hero-flower--1 { bottom: 34px; left: 9%; font-size: 26px; color: rgba(253, 251, 242, .65); animation: wiggle 5s ease-in-out infinite; }
.hero-flower--2 { bottom: 16px; left: 16%; font-size: 20px; color: rgba(253, 251, 242, .5); animation: wiggle 6s ease-in-out -2s infinite; }
.hero-flower--3 { bottom: 26px; right: 12%; font-size: 22px; color: rgba(253, 251, 242, .55); animation: wiggle 5.5s ease-in-out -1s infinite; }
.torn-edge {
  position: absolute;
  z-index: 4;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 42px;
  background-image: radial-gradient(circle at 21px -8px, transparent 27px, var(--torn-color, #FDFBF2) 28px);
  background-size: 42px 42px;
  background-repeat: repeat-x;
}
.torn-edge--top { bottom: auto; top: -1px; transform: scaleY(-1); }

/* How it works ----------------------------------------------------------- */

.how { position: relative; overflow: hidden; background: var(--paper); }
.how-texture {
  background-image: url('../assets/naturebg.png');
  opacity: .045;
  animation: tilepan 120s linear infinite;
}
.how .container { position: relative; }
.how-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 560px);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  justify-content: center;
}
.how-demo { position: relative; width: 100%; }
.how-demo-polaroid {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 14px;
  padding: 0 0 13px;
  transform: rotate(-2deg);
  border: 1px solid rgba(184, 201, 190, .5);
  box-shadow: 0 18px 40px rgba(26, 58, 47, .18);
  transition: transform .3s var(--spring);
}
.how-demo-polaroid:hover { transform: rotate(0) scale(1.015); }
.how-demo-plate {
  overflow: hidden;
  border-radius: 13px 13px 8px 8px;
  background: var(--mint);
}
.how-demo-plate video { display: block; width: 100%; height: auto; }
.how-demo-caption {
  text-align: center;
  font: 600 14px Fredoka;
  color: var(--slate);
  padding-top: 11px;
}
.how-steps { display: flex; flex-direction: column; gap: 36px; }
.how-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
}
.how-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19.5px;
  top: 50px;
  bottom: -30px;
  border-left: 3px dashed var(--tan);
}
.step-copy { display: flex; flex-direction: column; gap: 8px; padding-top: 5px; }
.step-copy h3 { font: 600 24px Fredoka; color: var(--ink); line-height: 1.2; }
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wood-light), var(--wood-dark));
  border: 2px dashed rgba(253, 251, 242, .5);
  display: grid;
  place-items: center;
  font: 600 19px Fredoka;
  color: var(--paper);
}
.step-body { font: 600 15px/1.6 'Nunito Sans'; color: var(--slate); text-wrap: pretty; }

.scan-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(123, 193, 66, .45), rgba(123, 193, 66, .9), rgba(123, 193, 66, .45), transparent);
  animation: scan 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* step 3 — collect slots */
.collect-grid {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 10px;
  justify-content: start;
  padding: 8px 0 2px;
}
.slot {
  position: relative;
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  background: var(--paper);
  border: 2px dashed var(--tan);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.slot img {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
}
.slot--pop-1 img { animation: slotpop .6s var(--spring) both; }
.slot--pop-2 img { animation: slotpop .6s var(--spring) .15s both; }
.slot--pop-3 img { animation: slotpop .6s var(--spring) .3s both; }
.slot--mystery {
  background: rgba(253, 251, 242, .6);
  border-color: var(--sage);
  font: 600 22px Fredoka;
  color: var(--sage);
}
.slot--flip { background: rgba(253, 251, 242, .6); border-color: var(--sage); }
.slot--flip span {
  position: absolute;
  font: 600 22px Fredoka;
  color: var(--sage);
  animation: qflip 7s ease-in-out infinite;
}
.slot--flip img { animation: aflip 7s var(--spring) infinite; }
.slot--flip-late span { animation-delay: -3.5s; }
.slot--flip-late img { animation-delay: -3.5s; }

/* Features --------------------------------------------------------------- */

.features { background: linear-gradient(180deg, #FDFBF2, #E8F4EC); }
.bento { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.feat-card {
  grid-column: span 7;
  position: relative;
  background: var(--cream);
  border: 2px dashed var(--tan);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(26, 58, 47, .08);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.feat-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 18px 36px rgba(26, 58, 47, .13); }
.feat-card--a { transform: rotate(-.6deg); }
.feat-card--b { grid-column: span 5; transform: rotate(.7deg); }
.feat-card--c { grid-column: span 5; transform: rotate(.6deg); }
.feat-card--d { grid-column: span 7; transform: rotate(-.5deg); }
.feat-card--shot { overflow: hidden; padding-bottom: 0; }
.washi {
  position: absolute;
  top: -12px;
  width: 86px;
  height: 24px;
  border-left: 2px dashed rgba(253, 251, 242, .85);
  border-right: 2px dashed rgba(253, 251, 242, .85);
}
.washi--yellow { left: 36px; background: rgba(255, 211, 78, .72); transform: rotate(-4deg); }
.washi--blue { right: 38px; background: rgba(111, 168, 232, .55); transform: rotate(3deg); }
.washi--flip-l { left: 40px; right: auto; transform: rotate(-3deg); }
.washi--flip-r { right: 42px; left: auto; transform: rotate(4deg); }
.card-head { display: flex; align-items: center; gap: 12px; }
.card-head h3 { font: 600 24px Fredoka; color: var(--ink); }
.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
}
.icon-tile--coral { background: rgba(255, 138, 91, .18); }
.icon-tile--coral i { font-size: 26px; color: var(--coral-600); }
.icon-tile--blue { background: rgba(111, 168, 232, .18); }
.icon-tile--blue i { font-size: 26px; color: var(--sky-500); }
.icon-tile--green { background: rgba(123, 193, 66, .16); }
.icon-tile--green i { font-size: 26px; color: var(--leaf-700); }
.icon-tile--yellow { background: rgba(255, 211, 78, .25); }
.icon-tile--yellow i { font-size: 26px; color: var(--sun-600); }
.card-body { font: 600 15px/1.6 'Nunito Sans'; color: var(--slate); text-wrap: pretty; }

/* feature A vignette — polaroid trio */
.polaroid-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 0 10px;
}
.mini-polaroid {
  background: var(--paper);
  border: 1px solid rgba(184, 201, 190, .5);
  border-radius: 9px;
  padding: 8px 8px 10px;
}
.mini-polaroid--left { margin-right: -20px; transform: rotate(-6deg) translateY(6px); box-shadow: 0 10px 22px rgba(26, 58, 47, .15); }
.mini-polaroid--center { position: relative; z-index: 2; transform: rotate(2deg) translateY(-10px); box-shadow: 0 14px 26px rgba(26, 58, 47, .18); }
.mini-polaroid--right { margin-left: -20px; transform: rotate(7deg) translateY(4px); box-shadow: 0 10px 22px rgba(26, 58, 47, .15); }
.mini-polaroid-plate { background: var(--mint); border-radius: 5px; padding: 5px; }
.mini-polaroid-plate--scanning { position: relative; overflow: hidden; }
.mini-polaroid-plate img { width: 74px; display: block; }
.mini-polaroid-plate--photo { background: var(--paper); padding: 4px; border: 1.5px dashed var(--photo-stitch); }
.mini-polaroid-plate--photo img { width: clamp(96px, 12.5vw, 158px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.mini-polaroid-caption { font: 600 12.5px Fredoka; color: var(--slate); text-align: center; margin-top: 7px; }
.mini-polaroid-caption--live { color: var(--leaf-500); }
.rarity-chip {
  font: 600 11px Fredoka;
  color: var(--violet-600);
  background: var(--violet-tint);
  border-radius: 999px;
  padding: 2px 8px;
}

/* app screenshots — phone rising from the card's bottom edge */
.card-shot { position: relative; height: 300px; margin-top: auto; }
.feat-card--b .card-shot { height: 350px; }
.feat-card--c .card-shot { height: 380px; }
.shot-phone {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(250px, 76%);
  background: var(--ink);
  border-radius: 30px;
  padding: 7px;
  box-shadow: 0 18px 40px rgba(26, 58, 47, .28), 0 0 0 2px rgba(253, 251, 242, .3);
}
.shot-phone img { display: block; width: 100%; height: auto; border-radius: 23px 23px 0 0; }
.shot-phone--tilt-l { transform: translateX(-50%) rotate(-2deg); }
.shot-phone--tilt-r { transform: translateX(-50%) rotate(2deg); }

/* streaks card — copy beside the tape-pinned golden achievement moment */
.streak-split { flex: 1; display: flex; align-items: center; gap: clamp(18px, 3vw, 30px); flex-wrap: wrap; }
.streak-copy { flex: 1 1 240px; min-width: 220px; display: flex; flex-direction: column; gap: 18px; }
.gold-snippet {
  position: relative;
  flex: 0 1 clamp(180px, 20vw, 236px);
  margin: 14px auto 4px;
  transform: rotate(2.5deg);
}
.gold-snippet img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(26, 58, 47, .2);
}
.gold-snippet::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 50%;
  width: 76px;
  height: 22px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 211, 78, .78);
  border-left: 2px dashed rgba(253, 251, 242, .85);
  border-right: 2px dashed rgba(253, 251, 242, .85);
  z-index: 2;
}

/* mini cards — compact horizontal rows */
.mini-card {
  grid-column: span 6;
  background: var(--paper);
  border: 2px dashed var(--sage);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 8px 22px rgba(26, 58, 47, .06);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.mini-card:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 16px 32px rgba(26, 58, 47, .12); }
.mini-card--feed { transform: rotate(-.4deg); }
.mini-card--privacy { transform: rotate(.4deg); }
.mini-card h3 { font: 600 19px Fredoka; color: var(--ink); }
.mini-card p { font: 600 14px/1.55 'Nunito Sans'; color: var(--slate); text-wrap: pretty; }
.mini-copy { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mini-tile {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.mini-tile i { font-size: 25px; }
.mini-tile--green { background: rgba(123, 193, 66, .16); }
.mini-tile--green i { color: var(--leaf-700); }
.mini-tile--violet { background: rgba(155, 126, 222, .16); }
.mini-tile--violet i { color: var(--violet-600); }
.paw-row { display: flex; gap: 6px; }
.paw {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--leaf-500);
  display: grid;
  place-items: center;
}
.paw i { font-size: 13px; color: var(--paper); }
.paw--today { background: var(--sun-400); animation: wiggle 3s ease-in-out infinite; }
.paw--today i { color: var(--ink); }
.paw--empty { background: none; border: 2px dashed var(--sage); box-sizing: border-box; }
.avatar-row { display: flex; align-items: center; flex: none; }
.avatar {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--cream);
  border: 2px solid var(--paper);
  box-shadow: 0 2px 6px rgba(26, 58, 47, .12);
  display: grid;
  place-items: center;
  padding: 4px;
}
.avatar + .avatar { margin-left: -12px; }
.avatar img { width: 100%; height: 100%; object-fit: contain; }
.avatar--count { background: var(--ink); font: 600 12px Fredoka; color: var(--paper); padding: 0; }
.privacy-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: none; max-width: 260px; justify-content: flex-end; }
.privacy-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 12px Fredoka;
  color: var(--ink);
  background: var(--cream);
  border: 2px dashed var(--tan);
  border-radius: 999px;
  padding: 4px 10px;
}
.privacy-chip i { font-size: 13px; color: var(--leaf-700); }

/* Get outside ------------------------------------------------------------ */

.outside { position: relative; overflow: hidden; background: var(--paper); }
.outside-texture {
  background-image: url('../assets/naturebg.png');
  opacity: .05;
  animation: tilepan 130s linear infinite reverse;
}
.outside .container { position: relative; }
.outside-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.outside-points { display: flex; flex-direction: column; gap: 20px; }
.outside-point {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--cream);
  border: 2px dashed var(--tan);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 10px 24px rgba(26, 58, 47, .07);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.outside-point:nth-child(odd) { transform: rotate(-.5deg); }
.outside-point:nth-child(even) { transform: rotate(.6deg); }
.outside-point:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 16px 32px rgba(26, 58, 47, .12); }
.outside-point-copy { display: flex; flex-direction: column; gap: 6px; }
.outside-point h3 { font: 600 20px Fredoka; color: var(--ink); line-height: 1.25; }
.outside-point p { font: 600 14.5px/1.6 'Nunito Sans'; color: var(--slate); text-wrap: pretty; }
.outside-photo { position: relative; }
.outside-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(26, 58, 47, .22);
}

/* Collection ---------------------------------------------------------------- */

.collection { position: relative; background: var(--cream); overflow: hidden; }
.collection-texture {
  background-image: url('../assets/naturebg.png');
  opacity: .05;
  animation: tilepan 110s linear infinite;
}
.collection .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}
.collection-copy { flex: 1 1 340px; min-width: 290px; }
.collection-copy .section-h2 { margin: 0 0 14px; }
.collection-copy .eyebrow { margin-bottom: 10px; }
.collection-body {
  margin: 0 0 26px;
  font: 600 17px/1.6 'Nunito Sans';
  color: var(--slate);
  max-width: 44ch;
  text-wrap: pretty;
}
.dex-counter { font: 600 clamp(44px, 5vw, 60px)/1 Fredoka; color: var(--ink); }
.dex-counter .dex-total { color: var(--slate); font-size: .5em; }
.dex-progress {
  margin: 16px 0 8px;
  height: 20px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px dashed var(--tan);
  overflow: hidden;
}
.dex-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #C6E89A 0%, #9AD46E 45%, #4E9A3C 100%);
  transition: width .3s;
}
.dex-caption { font: 700 13px 'Nunito Sans'; color: var(--slate); }
.dex-grid {
  flex: 1 1 480px;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dex-slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--paper);
  border: 2px dashed var(--tan);
  display: grid;
  place-items: center;
  padding: 6px;
  transition: transform .25s var(--spring);
}
.dex-slot:hover { transform: scale(1.06) rotate(-2deg); }
.dex-slot img.photo-fill { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.dex-name {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  padding: 16px 5px 6px;
  border-radius: 0 0 9px 9px;
  background: linear-gradient(180deg, rgba(26, 58, 47, 0), rgba(26, 58, 47, .82));
  color: #fff;
  font: 700 clamp(10px, .95vw, 12px)/1.15 'Nunito Sans';
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  text-wrap: balance;
  pointer-events: none;
}
.dex-slot--mystery {
  background: rgba(253, 251, 242, .55);
  border-color: var(--sage);
  font: 600 clamp(26px, 2.6vw, 34px) Fredoka;
  color: var(--sage);
}
@media (max-width: 560px) {
  .dex-grid { gap: 9px; }
  .dex-slot { padding: 4px; }
  .dex-name { left: 4px; right: 4px; bottom: 4px; padding: 12px 3px 4px; font-size: 9px; }
}

/* Community -------------------------------------------------------------- */

.community { background: var(--paper); padding-bottom: clamp(48px, 6vh, 72px); }
.community .container { max-width: 1020px; }
.community .section-head { margin-bottom: 52px; }
.comm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.comm-card {
  background: var(--cream);
  border: 2px dashed var(--tan);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(26, 58, 47, .08);
}
.comm-card--feed { gap: 16px; }
.comm-head { display: flex; align-items: center; gap: 14px; }
.comm-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 2px dashed rgba(253, 251, 242, .55);
  display: grid;
  place-items: center;
}
.comm-icon i { font-size: 30px; color: var(--paper); }
.comm-icon--fire { background: linear-gradient(180deg, #FF8A5B, #FFD34E); }
.comm-icon--feed { background: linear-gradient(180deg, #6FA8E8, #4A88C8); }
.comm-title { font: 600 26px Fredoka; color: var(--ink); }
.comm-subtitle { font: 700 13px 'Nunito Sans'; color: var(--slate); }
.comm-body { font: 600 15px/1.6 'Nunito Sans'; color: var(--slate); text-wrap: pretty; }
.medal-row { display: flex; gap: 10px; flex-wrap: wrap; }
.medal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 13px Fredoka;
  color: var(--ink);
  background: var(--paper);
  border: 2px dashed var(--tan);
  border-radius: 999px;
  padding: 6px 13px;
}
.medal-dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; }
.medal-dot--bronze { background: #CD7F32; }
.medal-dot--silver { background: #C0C0C0; }
.medal-dot--gold { background: #FFD700; }
.medal-dot--platinum { background: #5FC9E0; }
.feed-list { display: flex; flex-direction: column; gap: 12px; }
.feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 2px dashed var(--tan);
  border-radius: 12px;
  padding: 10px 14px;
}
.feed-row > img { width: 42px; height: 42px; object-fit: contain; }
.feed-text { flex: 1; font: 600 14px/1.4 'Nunito Sans'; color: var(--ink); }
.feed-text .species { color: var(--leaf-700); }
.feed-meta { font: 700 11px 'Nunito Sans'; color: var(--slate); }
.feed-row > i { font-size: 20px; }
.feed-row .ph-heart { color: var(--coral-400); }
.feed-row .ph-star { color: var(--sun-400); }

/* Closing CTA ------------------------------------------------------------ */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #7BC142, #5FA836);
}
.cta-texture {
  background-image: url('../assets/naturebg_white.png');
  opacity: .14;
  animation: tilepan 90s linear infinite reverse;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(72px, 9vh, 104px) 24px 0;
}
.cta-inner h2 {
  margin: 0 0 14px;
  font: 600 clamp(34px, 4.6vw, 52px)/1.1 Fredoka;
  color: var(--paper);
  text-shadow: 0 3px 0 rgba(26, 58, 47, .18);
}
.cta-inner p {
  margin: 0 auto 30px;
  max-width: 46ch;
  font: 600 17px/1.6 'Nunito Sans';
  color: rgba(253, 251, 242, .95);
  text-wrap: pretty;
}
.cta-foot { position: relative; height: 200px; margin-top: 28px; }
.cta-foot .hill-1 { bottom: -70px; left: -12%; width: 70%; height: 230px; background: linear-gradient(180deg, #FFE29A, #FFD34E); }
.cta-foot .hill-2 { bottom: -100px; right: -15%; width: 85%; height: 250px; background: linear-gradient(180deg, #FFD34E, #E6B84D); }
/* Sticker peeks — stickers emerge from behind hills, cards, and seams ---- */

.peek { position: absolute; z-index: 0; pointer-events: none; }
.peek-inner {
  transform: rotate(var(--tilt, 0deg));
  transition: transform .9s var(--spring-soft);
}
.peek--hide .peek-inner { transform: var(--hide, translateY(130%)) rotate(var(--tilt, 0deg)); }
.peek img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(26, 58, 47, .3));
  animation: floaty 5.6s ease-in-out infinite;
}
.peek--hero-corgi { bottom: 66px; left: 5%; width: clamp(96px, 11vw, 132px); --tilt: -9deg; }
.peek--hero-corgi img { animation-delay: -1s; }
.peek--hero-toucan { top: -52px; left: -34px; width: 106px; --tilt: -8deg; --hide: translateY(75%); }
.peek--hero-toucan img { animation-delay: -2.4s; }
.peek--badger { top: -66px; left: 14px; width: 92px; --tilt: -8deg; --hide: translateY(85%); }
.peek--badger img { animation-delay: -3s; }
.peek--crow { top: -62px; right: 150px; width: 90px; --tilt: 6deg; --hide: translateY(72%); }
.peek--crow img { animation-delay: -1.4s; }
.peek--band-lion { bottom: -30px; left: 9%; width: clamp(112px, 13vw, 152px); --tilt: -6deg; --hide: translateY(85%); }
.peek--band-lion img { animation-delay: -2.2s; }
.peek--bear { bottom: -26px; right: 4%; width: 122px; --tilt: 5deg; --hide: translateY(80%); }
.peek--bear img { animation-delay: -1.8s; }
.peek--outside-bunny { top: -96px; right: -30px; width: clamp(94px, 10vw, 128px); --tilt: 9deg; --hide: translate(-30%, 72%); }
/* most of the bunny hides behind the photo — its drop shadow would smear out past the frame edge */
.peek--outside-bunny img { animation-delay: -2.6s; filter: none; }
.peek--band-cardinal { bottom: -22px; right: 4%; width: clamp(92px, 11vw, 132px); --tilt: 6deg; --hide: translateY(115%); }
.peek--band-cardinal img { animation-delay: -3.4s; }
.peek--cta-monkey { bottom: 26px; left: calc(50% - 82px); width: 164px; --hide: translateY(90%); }

/* Photos in craft frames ------------------------------------------------- */

img.photo-fill { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.feed-row > img.photo-fill { width: 42px; height: 42px; flex: none; }

/* Wild band — violet sky interlude ---------------------------------------- */

.wild-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #5A3E9C 0%, #6D4FB0 52%, #8B6DD1 100%);
  padding: clamp(88px, 12vh, 124px) 24px clamp(118px, 15vh, 158px);
}
.wild-band-texture {
  background-image: url('../assets/naturebg_white.png');
  opacity: .13;
  animation: tilepan 90s linear infinite;
}
.wild-band-copy { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.wild-band-copy h2 {
  font: 600 clamp(28px, 4vw, 44px)/1.12 Fredoka;
  color: var(--paper);
  text-shadow: 0 3px 0 rgba(26, 58, 47, .2);
  text-wrap: balance;
}
.wild-band-copy p {
  margin-top: 12px;
  font: 600 clamp(15px, 1.8vw, 18px)/1.55 'Nunito Sans';
  color: rgba(253, 251, 242, .92);
  text-wrap: pretty;
}

/* Editorial photo bands --------------------------------------------------- */

.photo-band { position: relative; overflow: hidden; }
.photo-band > picture img {
  display: block;
  width: 100%;
  height: clamp(320px, 46vh, 440px);
  object-fit: cover;
}
.photo-band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 58, 47, 0) 42%, rgba(26, 58, 47, .5) 78%);
}
.photo-band-copy {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 55%;
  right: clamp(20px, 4vw, 48px);
  color: var(--paper);
}
.photo-band-copy h2 {
  font: 600 clamp(26px, 3.4vw, 40px)/1.15 Fredoka;
  text-shadow: 0 2px 14px rgba(26, 58, 47, .55);
  text-wrap: balance;
}
.photo-band-copy p {
  margin-top: 10px;
  font: 600 clamp(14px, 1.6vw, 17px)/1.5 'Nunito Sans';
  color: rgba(253, 251, 242, .94);
  text-shadow: 0 1px 10px rgba(26, 58, 47, .6);
  text-wrap: pretty;
}
/* the family-walk band is never cropped — the whole family stays in frame at any width */
.photo-band--outside > picture img { height: auto; }
.photo-band--outside .photo-band-scrim {
  background: linear-gradient(90deg, rgba(26, 58, 47, 0) 34%, rgba(26, 58, 47, .62) 74%);
}
@media (max-width: 780px) {
  .photo-band-scrim { background: linear-gradient(180deg, rgba(26, 58, 47, 0) 42%, rgba(26, 58, 47, .58) 88%); }
  .photo-band--outside .photo-band-scrim { background: linear-gradient(180deg, rgba(26, 58, 47, 0) 40%, rgba(26, 58, 47, .66) 88%); }
  /* the band copy drops to the bottom here — no room left for the bird */
  .peek--band-cardinal { display: none; }
  .photo-band-copy {
    top: auto;
    bottom: 26px;
    left: 20px;
    right: 20px;
    transform: none;
    text-align: center;
  }
}

/* Footer ----------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: rgba(253, 251, 242, .82);
  padding: clamp(56px, 8vh, 80px) clamp(20px, 4vw, 44px) 36px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  margin-bottom: 44px;
}
.footer-brand { flex: 1 1 300px; max-width: 380px; }
.footer-brand img { width: 210px; margin-bottom: 14px; }
.footer-tagline { margin: 0 0 18px; font: 600 14px/1.6 'Nunito Sans'; color: rgba(253, 251, 242, .7); }
.footer-disclaimer {
  border: 2px dashed rgba(253, 251, 242, .25);
  border-radius: 12px;
  padding: 14px 16px;
  font: 600 12.5px/1.6 'Nunito Sans';
  color: rgba(253, 251, 242, .65);
}
.footer-cols { display: flex; gap: clamp(36px, 6vw, 80px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font: 600 15px Fredoka; color: var(--leaf-300); margin-bottom: 4px; }
.footer-col a { font: 600 14px 'Nunito Sans'; color: rgba(253, 251, 242, .75); }
.footer-col a:hover { color: var(--sun-400); }
.footer-bottom {
  border-top: 2px dashed rgba(253, 251, 242, .18);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright { font: 700 13px 'Nunito Sans'; color: rgba(253, 251, 242, .55); }
.footer-made {
  font: 600 13px Fredoka;
  color: rgba(253, 251, 242, .55);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-made i { font-size: 16px; color: var(--sun-400); }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1000px) {
  /* five links crowd the bar before the menu drops out — the footer still links it */
  .nav-links a[href="#outside"] { display: none; }
}
@media (max-width: 780px) {
  .nav-links { display: none; }
}
@media (max-width: 1010px) {
  .peek--hero-corgi { bottom: 96px; }
}
@media (max-width: 1060px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .feat-card, .feat-card--b, .feat-card--c, .feat-card--d { grid-column: span 6; }
  .peek--crow { display: none; }
}
@media (max-width: 900px) {
  .outside-split { grid-template-columns: 1fr; }
  .outside-photo { order: -1; max-width: 560px; margin: 0 auto; }
  .outside-points { max-width: 620px; margin: 0 auto; }
  /* pull the bunny in so it clears the section head stacked above the photo */
  .peek--outside-bunny { top: -88px; right: -8px; width: 96px; }
}
@media (max-width: 860px) {
  .how-flow { grid-template-columns: 1fr; justify-items: center; }
  .how-demo { max-width: 320px; }
  .how-steps { max-width: 560px; }
}
@media (max-width: 560px) {
  .feat-card { padding: 26px 20px; }
  .feat-card--shot { padding-bottom: 0; }
  .mini-polaroid-plate--photo img { width: clamp(62px, 17vw, 130px); }
  .mini-polaroid { padding: 6px 6px 8px; }
  /* the captions set the card width here — heavy overlap swallowed their tails */
  .mini-polaroid-caption { font-size: 9.5px; margin-top: 5px; }
  .mini-polaroid--left { margin-right: -4px; }
  .mini-polaroid--right { margin-left: -4px; }
  .polaroid-row { padding: 16px 0 4px; }

  /* the demo clip is a portrait phone recording — at 320px it ate the whole screen */
  .how-demo { max-width: 236px; }
  .how-demo-caption { font: 600 13px Fredoka; padding-top: 9px; }
  .peek--badger { top: -56px; left: 2px; width: 78px; }

  /* screenshots: narrower phone, and shorter wells so the crop stays proportional */
  .shot-phone { width: min(196px, 64%); border-radius: 26px; padding: 6px; }
  .shot-phone img { border-radius: 20px 20px 0 0; }
  .card-shot { height: 236px; }
  .feat-card--b .card-shot { height: 252px; }
  .feat-card--c .card-shot { height: 274px; }
  .gold-snippet { flex-basis: 172px; margin: 12px auto 6px; }

  /* stickers: sized for the narrow column, and lifted so enough of each clears its seam */
  .peek--band-lion { left: 6%; bottom: -6px; width: 98px; }
  .peek--outside-bunny { top: -58px; right: 2px; width: 78px; }
  .peek--bear { right: 2%; bottom: -16px; width: 88px; }
}

/* Reduced motion --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
