/* Homepage only. Brand blocks keep their colours in dark mode; the page around them follows the system. */
:root {
  --butter: #ffdd6b;
  --lilac: #b9a4ff;
  --mint: #9fe5b8;
  --tomato: #fa8a68;
  --cream: #fff8ef;
  --dark: #14110f;
  --display: "Fredoka", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body.home { background: var(--bg); overflow-x: hidden; }
.home img { height: auto; max-width: 100%; }
.home main { max-width: none; padding: 0; }
.home .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.home h1, .home h2, .home h3, .home .brand { font-family: var(--display); letter-spacing: -0.01em; }

/* Header sits on the butter hero */
.home header { margin: 0; padding: 20px 0; }
.home header a.brand { color: var(--dark); font-weight: 700; font-size: 24px; }
.home header img { width: 44px; height: 44px; border-radius: 11px; border: 3px solid var(--dark); }
.home nav a { color: var(--dark); font-weight: 600; text-decoration: none; }
.home nav a:hover { text-decoration: underline; }

.band { color: var(--dark); }
.band p, .band li, .band h1, .band h2, .band h3 { color: var(--dark); }
.band.butter { background: var(--butter); }
.band.lilac { background: var(--lilac); }
.band.mint { background: var(--mint); }
.band.tomato { background: var(--tomato); }
.band.ink { background: var(--dark); color: var(--cream); }
.band.ink p, .band.ink h2 { color: var(--cream); }

/* Hero */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px; padding: 24px 0 72px; }
.kicker { display: inline-block; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; background: var(--dark); color: var(--butter); padding: 6px 12px; border-radius: 999px; transform: rotate(-2deg); }
.hero-grid h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; margin: 18px 0 18px; font-weight: 700; }
.hero-grid h1 em { font-style: normal; background: var(--cream); padding: 0 10px; border-radius: 14px; border: 4px solid var(--dark); display: inline-block; transform: rotate(-3deg); }
.lede { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; max-width: 520px; margin: 0 0 28px; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: var(--cream); font-family: var(--display); font-weight: 600; font-size: 19px; padding: 14px 22px; border-radius: 18px; text-decoration: none; box-shadow: 5px 5px 0 var(--accent); transition: transform 0.15s, box-shadow 0.15s; }
.cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--accent); }
.cta small { font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 500; opacity: 0.75; font-size: 14px; }
.hero-art { position: relative; height: 460px; }
.hero-art .main { position: absolute; left: 50%; bottom: 0; width: 340px; margin-left: -170px; }
.hero-art .side { position: absolute; left: -10px; bottom: 0; width: 150px; z-index: 0; }
.burst { position: absolute; right: 0; top: 10px; background: var(--tomato); color: var(--dark); font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.1; text-align: center; width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; border: 4px solid var(--dark); transform: rotate(12deg); z-index: 2; }

/* Sticker potatoes: idle bob, wiggle on hover */
.potato { display: block; filter: drop-shadow(0 10px 0 rgba(20, 17, 15, 0.14)); transform-origin: 50% 100%; animation: bob 2.6s ease-in-out infinite; user-select: none; -webkit-user-drag: none; }
.potato.d1 { animation-delay: -0.6s; }
.potato.d2 { animation-delay: -1.3s; }
.potato.d3 { animation-delay: -1.9s; }
.potato.slow { animation: sag 4.2s ease-in-out infinite; }
.potato:hover { animation: wiggle 0.5s ease-in-out; }
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1, 1); } 45% { transform: translateY(-14px) scale(0.98, 1.03); } 60% { transform: translateY(-14px) scale(0.98, 1.03); } 90% { transform: translateY(0) scale(1.04, 0.96); } }
@keyframes sag { 0%, 100% { transform: rotate(0deg) scale(1, 1); } 50% { transform: rotate(-2deg) scale(1.02, 0.97); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg) scale(1.04); } 60% { transform: rotate(6deg); } }

/* Sections */
.section { padding: 80px 0; }
.section h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.02; margin: 0 0 14px; font-weight: 700; }
.section .intro { font-size: 20px; max-width: 620px; margin: 0 0 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--cream); color: var(--dark); border: 4px solid var(--dark); border-radius: 28px; padding: 22px 22px 26px; box-shadow: 8px 8px 0 var(--dark); }
.card:nth-child(1) { transform: rotate(-1.5deg); }
.card:nth-child(2) { transform: rotate(1deg) translateY(14px); }
.card:nth-child(3) { transform: rotate(-0.5deg); }
.card .art { height: 230px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.card .art img { max-height: 220px; width: auto; }
.card .num { font-family: var(--display); font-weight: 700; font-size: 15px; background: var(--butter); border: 3px solid var(--dark); border-radius: 999px; padding: 2px 12px; display: inline-block; }
.card h3 { font-size: 30px; margin: 10px 0 6px; }
.card p { margin: 0; color: var(--dark); }

.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.versus figure { margin: 0; text-align: center; }
.versus img { height: 300px; width: auto; margin: 0 auto; }
.versus figcaption { font-family: var(--display); font-weight: 600; font-size: 24px; margin-top: 14px; }
.versus figcaption span { display: block; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 400; font-size: 17px; margin-top: 4px; }
.vs { font-family: var(--display); font-weight: 700; font-size: 36px; background: var(--dark); color: var(--lilac); width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; transform: rotate(-8deg); }
.old-note { display: flex; align-items: center; gap: 22px; margin-top: 56px; background: var(--cream); border: 4px solid var(--dark); border-radius: 28px; padding: 18px 26px; box-shadow: 8px 8px 0 var(--dark); max-width: 640px; }
.old-note img { height: 150px; width: auto; flex: none; }
.old-note p { font-size: 19px; margin: 0; }
.old-note strong { font-family: var(--display); font-size: 24px; display: block; }

.closet { display: flex; justify-content: center; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.closet img { height: 220px; width: auto; }
.closet .tag { position: relative; }
.closet .tag b { position: absolute; top: -8px; left: 50%; transform: translateX(-50%) rotate(-4deg); background: var(--dark); color: var(--butter); font-family: var(--display); font-size: 14px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; z-index: 1; }

.privacy-band { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.privacy-band .lens { width: 150px; height: 150px; border-radius: 50%; background: var(--mint); border: 6px solid var(--cream); display: grid; place-items: center; font-size: 64px; }
.privacy-band a { color: var(--butter); font-weight: 600; }

.final { text-align: center; padding: 90px 0 70px; }
.final img { height: 260px; width: auto; margin: 0 auto 10px; }
.final h2 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; margin: 0 0 14px; font-weight: 700; }
.final p { font-size: 20px; margin: 0 auto 26px; max-width: 520px; }

.home footer { border: 0; margin: 0; padding: 26px 0 40px; }
.home footer a, .home footer p { color: var(--muted); }

@media (max-width: 820px) {
  .home header { flex-wrap: wrap; }
  .hero-grid > div { min-width: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 48px; }
  .hero-art { height: 360px; }
  .hero-art .main { width: 270px; margin-left: -135px; }
  .hero-art .side { width: 118px; left: 0; }
  .burst { width: 100px; height: 100px; font-size: 15px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .card:nth-child(n) { transform: none; }
  .versus { grid-template-columns: 1fr; }
  .vs { margin: 0 auto; }
  .versus img { height: 230px; }
  .closet { gap: 22px 4px; }
  .closet .tag { flex: 0 0 46%; display: flex; justify-content: center; }
  .closet img { height: 170px; }
  .privacy-band { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .old-note { flex-direction: column; text-align: center; }
  nav a { margin-left: 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .potato, .potato:hover, .potato.slow { animation: none; }
  .cta { transition: none; }
}
.cta.soon { cursor: default; } .cta.soon:hover { transform: none; box-shadow: 5px 5px 0 var(--accent); }
.band.cream { background: var(--cream); }
.kinds { display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; gap: 8px 18px; }
.kinds img { height: 200px; width: auto; }
@media (max-width: 820px) { .kinds img { height: 130px; } .kinds { gap: 14px 6px; } }
.privacy-band .lens { flex: none; } .privacy-band .lens svg { width: 76px; height: 76px; }
/* Hero: the app's onboarding loop in its phone frame, the cheering potato beside it */
.hero-art .loop { position: absolute; left: 50%; top: 50%; height: 440px; width: auto; transform: translate(-50%, -50%) rotate(3deg); background: var(--butter); }
.hero-art .buddy { position: absolute; left: 0; bottom: -10px; width: 190px; z-index: 1; }
@media (max-width: 820px) {
  .hero-art { height: 400px; }
  .hero-art .loop { height: 370px; left: 58%; }
  .hero-art .buddy { width: 140px; bottom: -6px; }
}
