/* parul.pet home page. The legal pages keep styles.css. */
/* Layout: a night-lilac neighbourhood. Hero = swipeable phone fan; then a
   feature switcher that drives one phone, a live alert-radius map, a sideways
   screen strip, the coming-soon row, the treat jar, and the get-the-app close. */
:root {
  --bg: #13101b;
  --bg-2: #1a1526;
  --surface: #211a31;
  --surface-2: #2b2340;
  --line: #3a3052;
  --fg: #f3eefa;
  --muted: #a99dbd;
  --faint: #776c8c;
  --lilac: #b48de0;
  --lilac-strong: #9a72d6;
  --lilac-ink: #1b1229;
  --blush: #f1b4d6;
  --coral: #f2867a;
  --mint: #7fd3ae;
  --sky: #7cb8f0;
  --street: #2a2240;
  --glow: rgba(180, 141, 224, 0.28);
  --shadow: 0 30px 70px rgba(5, 2, 12, 0.6);
  --display: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbf8fe; --bg-2: #f3edfb; --surface: #ffffff; --surface-2: #f1eafa; --line: #e2d8f0;
    --fg: #22192f; --muted: #6c6082; --faint: #9a8fae; --lilac: #8a63cc; --lilac-strong: #7550bd;
    --lilac-ink: #ffffff; --blush: #e98fbf; --coral: #e0614f; --mint: #2f9e72; --sky: #3b86cf;
    --street: #e9e1f5; --glow: rgba(138, 99, 204, 0.18); --shadow: 0 30px 60px rgba(60, 30, 100, 0.18);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #fbf8fe; --bg-2: #f3edfb; --surface: #ffffff; --surface-2: #f1eafa; --line: #e2d8f0;
  --fg: #22192f; --muted: #6c6082; --faint: #9a8fae; --lilac: #8a63cc; --lilac-strong: #7550bd;
  --lilac-ink: #ffffff; --blush: #e98fbf; --coral: #e0614f; --mint: #2f9e72; --sky: #3b86cf;
  --street: #e9e1f5; --glow: rgba(138, 99, 204, 0.18); --shadow: 0 30px 60px rgba(60, 30, 100, 0.18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lilac);
}
.h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; letter-spacing: -0.01em; }
.lede { color: var(--muted); font-size: 17px; max-width: 34em; }
section { padding-block: clamp(64px, 9vw, 112px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav-in { display: flex; align-items: center; gap: 14px; height: 68px; }
.nav-links { margin-right: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 22px; }
.brand img { height: 40px; width: auto; transform-origin: 50% 90%; }
.brand:hover img { animation: wiggle 0.7s ease; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 0; cursor: pointer;
  background: var(--lilac); color: var(--lilac-ink); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 10px 30px var(--glow); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px var(--glow); background: var(--lilac-strong); }
.btn svg { flex: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .theme-btn { margin-left: auto; } }
@media (max-width: 380px) { .nav .btn span.long { display: none; } }

.theme-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--fg); flex: none; overflow: hidden; position: relative;
  transition: background .2s, transform .2s;
}
.theme-btn:hover { background: var(--surface-2); transform: rotate(-12deg); }
.theme-btn svg { position: absolute; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.theme-btn .sun { transform: translateY(0) rotate(0); opacity: 1; }
.theme-btn .moon { transform: translateY(30px) rotate(-60deg); opacity: 0; }
.theme-btn[data-mode="light"] .sun { transform: translateY(-30px) rotate(60deg); opacity: 0; }
.theme-btn[data-mode="light"] .moon { transform: none; opacity: 1; }
.theming, .theming *, .theming *::before, .theming *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease !important; }

/* ---------- hero ---------- */
/* overflow-x: clip keeps the parked side phones and the glow from making the
   page wider than the screen (which let a diagonal swipe pan it sideways). */
.hero { position: relative; padding-block: 56px 72px; isolation: isolate; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(520px 420px at 72% 38%, var(--glow), transparent 70%),
    radial-gradient(380px 300px at 12% 10%, color-mix(in srgb, var(--blush) 14%, transparent), transparent 70%);
}
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 82px); font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.hero h1 .w { display: inline-block; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 .accent { color: var(--lilac); position: relative; }
.hero h1 .accent svg { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: .3em; overflow: visible; }
.hero h1 .accent path { stroke: var(--blush); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .9s ease forwards; }
.hero .lede { margin-top: 22px; animation: rise .8s .35s cubic-bezier(.2,.8,.2,1) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise .8s .45s cubic-bezier(.2,.8,.2,1) both; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 16px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); transition: transform .2s, border-color .2s; }
.store:hover { transform: translateY(-2px); border-color: var(--lilac); }
.store small { display: block; font-size: 11px; color: var(--muted); line-height: 1.2; }
.store b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; }
.store.soon { opacity: .6; cursor: default; }
.store.soon:hover { transform: none; border-color: var(--line); }
/* Phones only (html[data-phone], set in index.html's head): the web app at
   app.parul.pet. Quieter than the store badges, which stay the main ask. */
.web-try { display: none; margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--lilac); text-decoration: none; padding: 10px 4px; animation: rise .8s .5s both; }
.web-try:hover { text-decoration: underline; text-underline-offset: 3px; }
html[data-phone] .web-try { display: inline-block; }
.final .web-try { animation: none; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--faint); animation: rise .8s .55s both; }
.paw-row { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted); animation: rise .7s both; }
.paw-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: ping 2s infinite; }

/* phone fan */
.fan { --w: clamp(176px, 19vw, 232px); --spread: calc(var(--w) * .72); position: relative; }
.stage {
  position: relative; height: calc(var(--w) * 2.2 + 30px);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.stage.dragging { cursor: grabbing; }
.phone {
  position: absolute; left: 50%; top: 50%; width: var(--w);
  padding: 4px; border-radius: calc(var(--w) * .15); background: #0b0812;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.06);
  transform: translate(-50%, -50%) translateX(calc(var(--d, 0) * var(--spread) + var(--drag, 0px))) rotate(calc(var(--d, 0) * 8deg)) scale(var(--s, 1));
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .5s, filter .5s;
}
.phone img { border-radius: calc(var(--w) * .135); width: 100%; height: auto; pointer-events: none; }
.phone::after { content: ""; position: absolute; top: 12px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); background: #0b0812; border-radius: 12px; }
.phone[data-near="1"] { opacity: .62; filter: saturate(.8) brightness(.85); cursor: pointer; }
.phone[data-near="2"] { opacity: 0; visibility: hidden; pointer-events: none; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .3s, visibility 0s .3s; }
.stage.dragging .phone { transition: none; }
.fan-meta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.fan-cap { text-align: center; min-height: 84px; margin-top: 10px; text-wrap: balance; }
.fan-cap b { font-family: var(--display); font-weight: 600; font-size: 18px; display: block; }
.fan-cap span { color: var(--muted); font-size: 14px; }
.fan-cap .swap { animation: fade .45s ease both; }
.dots { display: flex; gap: 7px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .35s, background .35s; }
.dots button[aria-current="true"] { width: 26px; background: var(--lilac); }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.arrow:hover { background: var(--surface-2); transform: scale(1.06); }
.fan { animation: fanIn 1s .2s cubic-bezier(.2,.8,.2,1) both; }
.swipe-hint { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); z-index: 20; font-size: 12px; color: var(--fg); background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; display: flex; gap: 6px; align-items: center; pointer-events: none; transition: opacity .4s; backdrop-filter: blur(6px); }
.swipe-hint svg { animation: nudge 1.6s ease-in-out infinite; }
.swipe-hint.gone { opacity: 0; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .fan { --spread: calc(var(--w) * .62); }
}

/* ---------- today: switcher ---------- */
.today-in { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.today-list { display: grid; gap: 12px; margin-top: 34px; }
.feat {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; text-align: left;
  padding: 18px 20px; border-radius: 20px; border: 1px solid transparent; background: transparent; cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s;
}
.feat:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.feat[aria-selected="true"] { background: var(--surface); border-color: var(--line); transform: translateX(6px); }
.feat .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--c, var(--lilac)); transition: transform .4s; }
.feat[aria-selected="true"] .ic { transform: rotate(-6deg) scale(1.06); background: color-mix(in srgb, var(--c) 18%, var(--surface-2)); }
.feat h3 { font-size: 21px; font-weight: 600; }
.feat p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.feat .bar { grid-column: 2; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 10px; display: none; }
.feat[aria-selected="true"] .bar { display: block; }
.feat .bar i { display: block; height: 100%; width: 0; background: var(--c, var(--lilac)); }
.feat[aria-selected="true"] .bar i { animation: fill 6s linear forwards; }
.today-phone { position: relative; justify-self: center; width: min(320px, 100%); }
.today-phone .frame { padding: 5px; border-radius: 44px; background: #0b0812; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.06); position: relative; overflow: hidden; }
.today-phone .frame::after { content: ""; position: absolute; top: 14px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); background: #0b0812; border-radius: 12px; z-index: 3; }
.today-phone .screens { position: relative; border-radius: 39px; overflow: hidden; aspect-ratio: 540 / 1173; }
.today-phone .screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .55s, transform .8s cubic-bezier(.2,.8,.2,1); }
.today-phone .screens img.on { opacity: 1; transform: none; }
.today-phone .halo { position: absolute; inset: 10% -20%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--c, var(--lilac)) 35%, transparent), transparent); transition: background .6s; filter: blur(10px); }
@media (max-width: 900px) {
  .today-in { grid-template-columns: 1fr; gap: 40px; }
  .today-phone { width: min(270px, 80%); order: -1; }
  .feat[aria-selected="true"] { transform: none; }
}

/* ---------- alert radius ---------- */
.alert { background: var(--bg-2); border-block: 1px solid var(--line); }
.alert-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.map { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 1 / 1; max-width: 100%; }
.map canvas { width: 100%; height: 100%; display: block; }
.map-tag { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 600; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.map-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.map-river { position: absolute; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); pointer-events: none; transform: translate(-50%, -50%) rotate(-8deg); white-space: nowrap; }
.city { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 18px; }
.city button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .25s, color .25s; }
.city button[aria-checked="true"] { background: var(--coral); color: var(--lilac-ink); }
.map-note { position: absolute; right: 14px; bottom: 12px; font-size: 11px; color: var(--faint); }
.ctrl { margin-top: 30px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.ctrl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ctrl label { font-weight: 600; }
.km { font-family: var(--display); font-weight: 600; font-size: 34px; color: var(--coral); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; margin-top: 14px; accent-color: var(--coral); height: 28px; cursor: pointer; }
.ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.reach { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.reach span { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); transition: all .35s; }
.reach span.on { color: var(--fg); border-color: color-mix(in srgb, var(--coral) 60%, var(--line)); background: color-mix(in srgb, var(--coral) 14%, transparent); }
.replay { margin-top: 16px; }
@media (max-width: 900px) { .alert-in { grid-template-columns: 1fr; } .map { max-width: 480px; width: 100%; margin-inline: auto; } }

/* ---------- strip ---------- */
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.strip-nav { display: flex; gap: 10px; }
.strip-nav .arrow:disabled { opacity: .35; cursor: default; transform: none; }
.strip {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 30px 24px 24px; margin-top: 10px; scrollbar-width: none; cursor: grab;
  scroll-padding-inline: max(24px, calc((100vw - 1160px) / 2 + 24px));
  padding-inline: max(24px, calc((100vw - 1160px) / 2 + 24px));
}
.strip::-webkit-scrollbar { display: none; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.strip.drag * { pointer-events: none; }
.card {
  flex: 0 0 clamp(220px, 24vw, 262px); scroll-snap-align: start; margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 14px 14px 20px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .3s;
}
.card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--lilac) 50%, var(--line)); }
.card img { border-radius: 20px; width: 100%; height: auto; border: 1px solid var(--line); }
.card figcaption { padding: 14px 6px 0; }
.card b { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; }
.card span { color: var(--muted); font-size: 14px; line-height: 1.5; display: block; margin-top: 2px; }
.progress { height: 3px; border-radius: 3px; background: var(--line); margin-top: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 20%; background: var(--lilac); border-radius: 3px; transition: width .2s; }
@media (max-width: 480px) { .card { flex-basis: 74%; } .strip { padding-inline: 16px; scroll-padding-inline: 16px; } }

/* ---------- coming soon ---------- */
.soon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.soon-card {
  position: relative; padding: 24px 20px 22px; border-radius: 24px; border: 1.5px dashed var(--line);
  background: transparent; overflow: hidden; transition: border-color .3s, transform .4s cubic-bezier(.2,.8,.2,1), background .3s;
}
.soon-card::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--lilac) 12%, transparent) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .9s ease;
}
.soon-card:hover { border-color: var(--lilac); transform: translateY(-6px); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.soon-card:hover::before { transform: translateX(100%); }
.soon-card .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); transition: color .3s, transform .4s; }
.soon-card:hover .ic { color: var(--lilac); transform: rotate(-8deg); }
.soon-card h3 { font-size: 20px; font-weight: 600; margin-top: 16px; }
.soon-card p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.55; }
.soon-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pill { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lilac); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 1000px) { .soon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .soon-grid { grid-template-columns: 1fr; } }

/* ---------- treat jar ---------- */
.jar-sec { background: var(--bg-2); border-block: 1px solid var(--line); }
.jar-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.promises { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.promises span { font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.jar-card { position: relative; padding: 30px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); display: grid; justify-items: center; text-align: center; gap: 14px; }
.jar { width: 180px; height: 210px; position: relative; }
.jar svg { width: 100%; height: 100%; overflow: visible; }
#jarFill { transition: y .6s cubic-bezier(.2,.8,.2,1), height .6s cubic-bezier(.2,.8,.2,1); }
.count { font-family: var(--display); font-weight: 600; font-size: 40px; font-variant-numeric: tabular-nums; line-height: 1; }
.count small { font-size: 16px; color: var(--muted); font-weight: 500; }
.ladder { display: flex; gap: 6px; width: 100%; max-width: 300px; }
.ladder div { flex: 1; text-align: center; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.ladder div i { display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 6px; transition: background .4s; }
.ladder div.hit i { background: var(--lilac); }
.ladder div.hit { color: var(--fg); }
.treat { position: absolute; width: 18px; height: 12px; pointer-events: none; z-index: 5; }
.toast { position: absolute; left: 50%; top: -18px; transform: translate(-50%, 10px) scale(.95); opacity: 0; display: flex; gap: 10px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 14px; white-space: nowrap; transition: all .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.toast img { width: 34px; }
.toast.show { opacity: 1; transform: translate(-50%, -100%) scale(1); }
@media (max-width: 900px) { .jar-in { grid-template-columns: 1fr; } }

/* ---------- final cta ---------- */
.final { text-align: center; position: relative; overflow-x: clip; }
.final .paru { width: 150px; height: auto; margin: 0 auto 18px; transform-origin: 50% 95%; animation: bob 4s ease-in-out infinite; cursor: pointer; }
.final .paru.purr { animation: purr .6s ease; }
.final .lede { margin: 16px auto 0; }
.final .hero-cta { justify-content: center; animation: none; }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 700px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--glow), transparent); z-index: -1; }
.final { isolation: isolate; }
footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 13.5px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot .brand { font-size: 17px; color: var(--fg); }
.foot .brand img { height: 28px; }

/* ---------- reveal (transform only: content is readable at rest) ---------- */
.rv { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.pre { transform: translateY(28px); }

@keyframes rise { from { transform: translateY(26px); } to { transform: none; } }
@keyframes fade { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fanIn { from { transform: translateY(40px) scale(.94); } to { transform: none; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes fill { to { width: 100%; } }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes purr { 0%,100% { transform: scale(1); } 20% { transform: scale(1.08, .92); } 45% { transform: scale(.95, 1.06) translateY(-12px); } 70% { transform: scale(1.03, .97); } }
@keyframes nudge { 0%,100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv.pre { transform: none; }
}
