/* Pixel Kitty Studio — bubblegum pink, electric blue, sky and butter on ink; chunky Bricolage Grotesque, with
   Pixelify Sans for the few pixel-y bits (wordmark, the kitty's speech bubble, step numbers).
   The one big moment: the pixel kitty hops up onto the marquee, watches the pointer, and bounces when petted.
   Everything else is quiet. Motion animates transform/opacity only, and stops for people who prefer reduced motion. */

:root {
  --pink: #ff5fa2;
  --blue: #3d5afe;
  --sky: #9fd8ff;
  --butter: #fff4d6;
  --ink: #15131f;
  --white: #fff;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --pixel: 'Pixelify Sans', var(--body);
  --pop: 5px 5px 0 var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  /* A 9×8 pixel paw: --paw is used as a mask (any color), --paw-ink as an ink-colored image. */
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 8' shape-rendering='crispEdges'%3E%3Crect x='2' y='0' width='2' height='1'/%3E%3Crect x='5' y='0' width='2' height='1'/%3E%3Crect x='2' y='1' width='2' height='1'/%3E%3Crect x='5' y='1' width='2' height='1'/%3E%3Crect x='0' y='2' width='2' height='1'/%3E%3Crect x='7' y='2' width='2' height='1'/%3E%3Crect x='0' y='3' width='2' height='1'/%3E%3Crect x='3' y='3' width='3' height='1'/%3E%3Crect x='7' y='3' width='2' height='1'/%3E%3Crect x='2' y='4' width='5' height='1'/%3E%3Crect x='1' y='5' width='7' height='1'/%3E%3Crect x='1' y='6' width='7' height='1'/%3E%3Crect x='2' y='7' width='5' height='1'/%3E%3C/svg%3E");
  /* One period of the stepped underline under .mark, used as a mask. */
  --steps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8' shape-rendering='crispEdges'%3E%3Crect x='0' y='0' width='20' height='2'/%3E%3Crect x='18' y='0' width='2' height='8'/%3E%3Crect x='18' y='6' width='22' height='2'/%3E%3Crect x='38' y='0' width='2' height='8'/%3E%3C/svg%3E");
  --paw-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 8' shape-rendering='crispEdges' fill='%2315131f'%3E%3Crect x='2' y='0' width='2' height='1'/%3E%3Crect x='5' y='0' width='2' height='1'/%3E%3Crect x='2' y='1' width='2' height='1'/%3E%3Crect x='5' y='1' width='2' height='1'/%3E%3Crect x='0' y='2' width='2' height='1'/%3E%3Crect x='7' y='2' width='2' height='1'/%3E%3Crect x='0' y='3' width='2' height='1'/%3E%3Crect x='3' y='3' width='3' height='1'/%3E%3Crect x='7' y='3' width='2' height='1'/%3E%3Crect x='2' y='4' width='5' height='1'/%3E%3Crect x='1' y='5' width='7' height='1'/%3E%3Crect x='1' y='6' width='7' height='1'/%3E%3Crect x='2' y='7' width='5' height='1'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--butter); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: clip; }
img, svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus, var(--ink)); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .92; margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--butter); padding: .5rem .9rem; border-radius: 99px; z-index: 10; }
.skip:focus { top: 1rem; }

/* The pixel art's colors (class names come from the drawing: k ink, w white, p pink, b blue, s sky). */
.pk { fill: var(--ink); } .pw { fill: var(--white); } .pp { fill: var(--pink); } .pb { fill: var(--blue); } .ps { fill: var(--sky); }

/* ---------- header ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--gutter); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 700 1.35rem var(--pixel); text-decoration: none; }
.brand-mark { width: 2rem; height: auto; }
.top nav { display: flex; gap: clamp(.8rem, 2.5vw, 1.8rem); font-weight: 600; font-size: .95rem; }
.top nav a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.top nav a:hover { background-size: 100% 2px; }
@media (max-width: 560px) { .top nav a:not(:nth-child(2)) { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-block; font: 700 1rem/1 var(--body); padding: 1rem 1.4rem; border-radius: 99px; text-decoration: none; background: var(--blue); color: var(--white);
  border: 2px solid var(--ink); box-shadow: var(--pop); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--butter); box-shadow: 5px 5px 0 var(--blue); }
.btn-ink:hover { box-shadow: 7px 7px 0 var(--blue); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: min(100svh, 860px); display: grid; align-content: center; gap: 1.6rem;
  padding: 7rem var(--gutter) 5rem; background: var(--pink); color: var(--ink); }
.hero-place { font-weight: 600; }
.hero-title { font-size: clamp(3.4rem, 11.5vw, 10.5rem); max-width: 11ch; }
.hero-title .w { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(120ms + var(--i) * 90ms); }
.hero-sub { max-width: 34ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-place, .hero-sub, .hero-actions { animation: rise .9s var(--ease) both; animation-delay: .75s; }

/* A stepped, pixel-style underline that wipes in under the last words of the hero and closing titles. */
.mark { position: relative; display: inline-block; }
.mark::after { content: ''; position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .14em; background: var(--blue);
  -webkit-mask: var(--steps) 0 0 / auto 100% repeat-x; mask: var(--steps) 0 0 / auto 100% repeat-x;
  clip-path: inset(0 100% 0 0); animation: wipe 1.1s steps(12, end) .75s forwards; }

/* The kitty sits on the marquee's top edge, bottom right. It hops up, then blinks, swishes its tail and twitches
   an ear on its own; kitty.js moves its eyes toward the pointer and makes it bounce when it's petted. */
.kitty-wrap { position: absolute; z-index: 1; right: var(--gutter); bottom: 0; width: clamp(11rem, 25vw, 21rem); }
.kitty { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 0; }
.kitty-art { width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; animation: hop .8s var(--ease) .9s both; }
.kitty.pet .kitty-art { animation: pet .55s var(--spring); }
.gaze { transform: translate(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px)); }
.eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.8s 2.6s infinite; }
.tail-b, .tail-c, .ear-flick { opacity: 0; }
.tail-a { animation: tail-a 2.8s 1.8s infinite; }
.tail-b { animation: tail-b 2.8s 1.8s infinite; }
.tail-c { animation: tail-c 2.8s 1.8s infinite; }
.ear-up { animation: ear-up 7s 4s infinite; }
.ear-flick { animation: ear-flick 7s 4s infinite; }
.bubble { position: absolute; left: -12%; bottom: 100%; margin-bottom: .6rem; padding: .45rem .75rem .5rem; background: var(--white); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font: 700 clamp(.95rem, 1.5vw, 1.2rem)/1 var(--pixel); white-space: nowrap; transform-origin: 70% 100%; animation: pop .35s steps(3, end) 1.7s both; }
/* The bubble's tail: two stacked pixel blocks pointing down at the kitty. */
.bubble::before, .bubble::after { content: ''; position: absolute; background: var(--ink); }
.bubble::before { width: 12px; height: 9px; right: 26%; bottom: -12px; }
.bubble::after { width: 6px; height: 6px; right: calc(26% - 6px); bottom: -18px; }
.heart { position: absolute; left: 36%; top: 22%; width: clamp(1.3rem, 2.2vw, 1.9rem); pointer-events: none; animation: fly .9s var(--ease) forwards; }
.heart svg { width: 100%; height: auto; }

@keyframes rise { from { opacity: 0; transform: translateY(.55em) rotate(2deg); } }
@keyframes wipe { to { clip-path: inset(0); } }
@keyframes drop { from { opacity: 0; transform: translateY(-120vh) rotate(-30deg); } 70% { transform: translateY(4%) rotate(4deg); } }
@keyframes hop { 0% { transform: translateY(105%); } 55% { transform: translateY(-14%); } 78% { transform: scale(1.05, .9); } 100% { transform: none; } }
@keyframes pet { 30% { transform: scale(1.07, .86); } 62% { transform: translateY(-12%) scale(.96, 1.06); } }
@keyframes blink { 0%, 93%, 98%, 100% { transform: none; } 94%, 97% { transform: scaleY(.15); } }
@keyframes tail-a { 0%, 24.9% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes tail-b { 0%, 24.9%, 50%, 74.9% { opacity: 0; } 25%, 49.9%, 75%, 100% { opacity: 1; } }
@keyframes tail-c { 0%, 49.9%, 75%, 100% { opacity: 0; } 50%, 74.9% { opacity: 1; } }
@keyframes ear-up { 0%, 89.9%, 94%, 100% { opacity: 1; } 90%, 93.9% { opacity: 0; } }
@keyframes ear-flick { 0%, 89.9%, 94%, 100% { opacity: 0; } 90%, 93.9% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } }
@keyframes fly { from { opacity: 1; transform: translate(0, 0) scale(.4); } 70% { opacity: 1; } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); } }
@media (max-width: 720px) { .kitty-wrap { right: 1.25rem; width: 9.5rem; } .bubble { left: -30%; } .hero { padding-bottom: 10.5rem; } }

/* ---------- marquee ---------- */
.marquee { display: flex; overflow: clip; background: var(--sky); border-block: 3px solid var(--ink); font: 800 clamp(1.4rem, 3vw, 2.2rem) var(--display); letter-spacing: -.02em; }
.marquee-track { display: flex; flex: none; gap: 0; margin: 0; padding: .8rem 0; list-style: none; animation: slide 32s linear infinite; }
.marquee-track li { padding-inline: 1.2rem; white-space: nowrap; }
.marquee-track li::after { content: ''; display: inline-block; width: .62em; height: .55em; margin-left: 2.4rem; background: var(--blue);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- sections ---------- */
.how, .work, .claim, .faq { padding: clamp(4.5rem, 10vw, 8rem) var(--gutter); }
.section-title { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin: 0; padding: 0; list-style: none; }
.step { position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 2.2rem 1.6rem 1.6rem; box-shadow: var(--pop); }
.step:nth-child(2) { rotate: -1.2deg; } .step:nth-child(3) { rotate: 1deg; }
.step-n { position: absolute; top: -1.4rem; left: 1.2rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue); color: var(--white); font: 700 1.5rem/1 var(--pixel); border: 3px solid var(--ink); }
.step h3 { font-size: 1.7rem; margin-bottom: .7rem; }

.work { background: var(--sky); }
.work-note { max-width: 46ch; margin: -1.5rem 0 3rem; }
.fan { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.4rem); }
.site { margin: 0; border: 3px solid var(--ink); border-radius: 18px; overflow: clip; box-shadow: var(--pop); background: var(--white); }
.site:nth-child(1) { rotate: -3deg; } .site:nth-child(2) { rotate: 1.5deg; translate: 0 1.5rem; } .site:nth-child(3) { rotate: -1deg; }
.site-bar { display: flex; gap: .35rem; padding: .6rem .8rem; border-bottom: 3px solid var(--ink); background: var(--butter); }
.site-bar span { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink); opacity: .25; }
.site-shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--butter); }
.site figcaption { padding: .7rem 1rem; border-top: 3px solid var(--ink); font-weight: 600; font-size: .9rem; background: var(--butter); }
@media (max-width: 820px) { .fan { grid-template-columns: 1fr; max-width: 26rem; } .site:nth-child(2) { translate: none; } }

/* ---------- claim / pricing ---------- */
.claim { --focus: var(--butter); background: var(--ink); color: var(--butter); scroll-margin-top: 1rem; }
.claim-for { margin: -1.5rem 0 2rem; font-size: 1.15rem; padding: 1rem 1.2rem; border: 2px dashed var(--sky); border-radius: 14px; max-width: 46rem; }
.claim-for strong { color: var(--sky); }
.thanks { margin: -1rem 0 2.5rem; padding: 1.6rem; border-radius: 20px; background: var(--sky); color: var(--ink); max-width: 40rem; box-shadow: 6px 6px 0 var(--pink); animation: drop .9s var(--spring) both; }
.thanks-title { font: 800 2.4rem var(--display); letter-spacing: -.03em; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); max-width: 84rem; padding-top: 1rem; }
.tier { --focus: var(--ink); position: relative; background: var(--butter); color: var(--ink); border-radius: 26px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; border: 3px solid var(--butter); }
.tier-multi { background: var(--pink); border-color: var(--pink); }
/* A small kitty peeking over the top of the Multi-page card. */
.peek { position: absolute; left: 1.6rem; bottom: calc(100% - 3px); width: 6rem; height: auto; }
/* The plan of the preview being bought (?plan=…), marked as theirs. */
.tier-picked { box-shadow: 0 0 0 4px var(--sky); }
.tier-picked::before { content: 'Your site'; position: absolute; top: -.9rem; right: 1.4rem; background: var(--sky); color: var(--ink); font: 700 .95rem/1 var(--pixel); padding: .4rem .8rem; border-radius: 99px; }
/* Custom: the one card that isn't a fixed price, drawn as an outline on the dark section. */
.tier-custom { --focus: var(--butter); background: transparent; color: var(--butter); border: 3px dashed var(--butter); }
.tier-custom .price-big { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.tier h3 { font-size: 2.1rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; }
.price-big { font: 800 clamp(3rem, 7vw, 4.4rem)/1 var(--display); letter-spacing: -.04em; }
.price-small { font-weight: 600; }
.tier ul { margin: 0 0 .6rem; padding: 0; list-style: none; display: grid; gap: .55rem; flex: 1; }
.tier li { padding-left: 1.7rem; position: relative; }
.tier li::before { content: ''; position: absolute; left: 0; top: .42em; width: 1.05rem; height: .93rem; background: var(--paw-color, var(--blue));
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
.tier-multi { --paw-color: var(--ink); }
.tier-custom { --paw-color: var(--sky); }
.tier .btn { align-self: flex-start; }
.claim-small { margin-top: 2rem; opacity: .75; font-size: .95rem; }

.after { padding: clamp(4.5rem, 10vw, 8rem) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.after .section-title { margin-bottom: 1.2rem; }
.after-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34ch; }
.after-list { margin: 0; padding: 0; list-style: none; background: var(--white); border: 3px solid var(--ink); border-radius: 26px; box-shadow: var(--pop); }
.after-list li { position: relative; padding: 1.15rem 1.4rem 1.15rem 4rem; border-top: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.after-list li:first-child { border-top: 0; }
.after-list li::before { content: '✓'; position: absolute; left: 1.2rem; top: 1.1rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--sky); border: 2px solid var(--ink); font-weight: 700; font-size: .95rem; }
.after-list strong { display: block; font: 800 1.2rem/1.2 var(--display); letter-spacing: -.01em; margin-bottom: .2rem; }
@media (max-width: 820px) { .after { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { max-width: 50rem; border-bottom: 3px solid var(--ink); interpolate-size: allow-keywords; }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font: 800 clamp(1.3rem, 2.6vw, 1.75rem)/1.1 var(--display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--sky); border: 2px solid var(--ink);
  font: 700 1.4rem/1 var(--body); transition: transform .45s var(--spring), background-color .3s; }
/* Open, the plus turns into a paw. */
.faq details[open] summary::after { content: ''; background: var(--pink) var(--paw-ink) center / 1.05rem no-repeat; transform: rotate(360deg) scale(1.08); }
.faq details p { padding: 0 0 1.4rem; max-width: 60ch; }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* ---------- closing + footer ---------- */
.closing { display: grid; justify-items: start; gap: 2.4rem; padding: clamp(5rem, 12vw, 9rem) var(--gutter); background: var(--pink); color: var(--ink); }
.closing-title { font-size: clamp(3rem, 9vw, 7.5rem); max-width: 12ch; }
.foot { --focus: var(--butter); display: flex; flex-wrap: wrap; gap: .4rem 2rem; padding: 2rem var(--gutter); background: var(--ink); color: var(--butter); font-size: .95rem; }
.foot-brand { font: 700 1.1rem var(--pixel); }

/* ---------- tilt (pointer) ---------- */
.tilt { transition: transform .25s var(--ease); transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }

/* ---------- scroll-driven motion ---------- */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  .fan .site { animation: fan linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .fan .site:nth-child(1) { --from: -14deg; --x: 30%; } .fan .site:nth-child(3) { --from: 12deg; --x: -30%; }
  @media (max-width: 820px) { .fan .site { --x: 0; } }
  @keyframes fan { from { opacity: 0; transform: translateX(var(--x, 0)) translateY(18%) rotate(var(--from, 0deg)); } }
  .hero-title { animation: lift linear both; animation-timeline: scroll(); animation-range: 0 90vh; }
  @keyframes lift { to { transform: translateY(-14%); opacity: .35; } }
}
/* Fallback reveals for browsers without scroll-driven animations (claim.js adds .js-reveal and .in). */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  .mark::after { clip-path: none; }
}
