/* Furppuccino site. Palette and shapes follow the app: warm paper, espresso
   ink, rose-brown buttons, cards with a soft double edge, watercolor art. */

:root {
  --paper: #fbf6ec;
  --paper-2: #f4ead7;
  --card: #fffbf4;
  --ink: #4b3428;
  --ink-2: #6a4e3e;
  --muted: #735a4a;
  --line: #e6d6bc;
  --line-2: #d6c09d;
  --rose: #985b51;
  --rose-2: #b5766a;
  --caramel: #d9954f;          /* lines and shapes only */
  --caramel-text: #8f551f;     /* caramel you can read (4.5:1 on every paper) */
  --apricot: #f0c08a;
  --sage: #9db592;
  --sage-2: #e3ecd9;
  --pink-tape: rgba(234, 177, 170, .62);
  --green-tape: rgba(170, 201, 166, .62);
  --yellow-tape: rgba(241, 210, 140, .66);
  --shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -26px rgba(75, 52, 40, .42), 0 4px 10px -6px rgba(75, 52, 40, .16);
  --radius: 26px;
  --wrap: 1120px;
  --font-zh: ui-rounded, "SF Pro Rounded", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Latin system fonts first: in Chrome ui-rounded is unknown, and PingFang's
     apostrophe is a wide CJK glyph. */
  --font-en: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .22 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--font-zh);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.lang-en, [lang="en"], .title-sub, .rights { font-family: var(--font-en); }
.lang-en .title-sub { font-family: var(--font-zh); }
/* Chinese never breaks inside a word or a short phrase: the build wraps them
   in .w (same idea as the app's BalancedText); elsewhere the usual rules apply. */
.lang-zh-Hant { letter-spacing: .04em; line-break: strict; }
.w { white-space: nowrap; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 600; }
.lang-en h1, .lang-en h2, .lang-en h3 { font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, .sec-lead, .tagline, .hero-sub, .price { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.wrap.narrow { width: min(780px, calc(100% - 40px)); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- card */

.card {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(214, 192, 157, .45);
  border-radius: calc(var(--radius) - 5px);
  pointer-events: none;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 246, 236, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(75, 52, 40, .5); }
.header-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; min-height: 44px; }
.logo-icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 8px -3px rgba(75, 52, 40, .4); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 18px; font-weight: 600; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 10px 12px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.lang-switch {
  flex: none; font-size: 14px; text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--line-2); padding: 9px 16px; border-radius: 999px; background: var(--card);
  transition: background .2s, transform .2s;
}
.lang-switch:hover { background: var(--paper-2); transform: translateY(-1px); }

/* On a phone the section links become a row of chips you can swipe. */
.chips-nav { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .lang-switch { margin-left: auto; }
  .chips-nav {
    display: block; position: relative; z-index: 29;
    border-bottom: 1px solid var(--line);
  }
  .chips-nav-in { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px; scrollbar-width: none; }
  .chips-nav-in::-webkit-scrollbar { display: none; }
  .chips-nav a {
    flex: none; text-decoration: none; color: var(--ink-2); font-size: 14px;
    padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line);
  }
  html { scroll-padding-top: 80px; }
}

/* ---------------------------------------------------------------- hero */

/* One centred stack (producer, 2026-11-16: the two-column hero was messy):
   the name alone, one line, one sentence, the badge, three promises; the lake
   view sits underneath like a stage, the kitten leaning on its top edge. */
.hero { position: relative; padding: 52px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -180px; width: min(1100px, 130%); aspect-ratio: 1.3;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(240, 192, 138, .30), rgba(240, 192, 138, 0));
}
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-name { line-height: 1.1; }
.hero-name-text { display: block; font-size: clamp(50px, 7vw, 88px); letter-spacing: .06em; padding-left: .06em; }
.hero-word { display: block; width: clamp(250px, 34vw, 440px); height: auto; margin: 2px auto 6px; }
.tagline { margin-top: 12px; font-size: clamp(22px, 2.5vw, 30px); font-weight: 600; color: var(--ink); }
.lang-en .tagline { font-weight: 700; letter-spacing: -.005em; }
.hero-sub { margin-top: 8px; font-size: clamp(15.5px, 1.4vw, 17px); color: var(--ink-2); }
.hero-sub .ib { display: inline-block; }
.hero-cta { margin-top: 26px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex: none; }
.sec-lead .sentence { display: block; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  background: var(--ink); color: #fdf6ea; text-decoration: none;
  padding: 10px 22px 10px 10px; border-radius: 18px;
  box-shadow: 0 12px 24px -14px rgba(75, 52, 40, .7);
  transition: transform .2s, box-shadow .2s;
}
a.store-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(75, 52, 40, .75); }
.store-badge .badge-icon { width: 44px; height: 44px; border-radius: 12px; }
.badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.badge-text small { font-size: 12px; opacity: .78; letter-spacing: .04em; }
.badge-text b { font-size: 21px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; font-family: var(--font-en); }
/* Not released yet: a note, not a button. */
.store-badge.is-soon {
  background: var(--card); color: var(--ink); box-shadow: none;
  border: 1.5px dashed var(--line-2); padding-right: 14px;
}
.store-badge.is-soon .badge-text small { opacity: 1; color: var(--muted); }

/* The lake view is 1024 px wide at the source, so the stage stays at most
   760 px wide (producer: a little smaller), sharp enough on a 2x screen. */
.hero-stage { position: relative; width: min(760px, 100%); margin-top: 44px; }
.hero-frame {
  position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden;
  border: 9px solid var(--card); box-shadow: var(--shadow), 0 0 0 1.5px var(--line);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%; }
.hero-peek { position: absolute; z-index: 0; right: 7%; bottom: calc(100% - 10px); width: clamp(96px, 11vw, 128px); height: auto; transform-origin: 50% 100%; animation: peek 7s ease-in-out infinite; }
.hero-latte { position: absolute; z-index: 2; left: -30px; bottom: -26px; width: clamp(110px, 14vw, 160px); height: auto; filter: drop-shadow(0 14px 18px rgba(75, 52, 40, .26)); }

@keyframes peek { 0%, 72%, 100% { transform: translateY(0); } 78% { transform: translateY(5px); } 84% { transform: translateY(0) rotate(-1.5deg); } 90% { transform: translateY(0); } }

@media (max-width: 860px) { .hero-latte { left: -8px; } }
@media (max-width: 760px) {
  .hero { padding: 28px 0 72px; }
  .hero-stage { margin-top: 100px; }
  .hero-frame { aspect-ratio: 4 / 3; border-width: 8px; border-radius: 26px; }
  .hero-peek { right: 50%; transform: translateX(50%); animation: none; }
}

/* ---------------------------------------------------------------- sections */

.section { position: relative; padding: 96px 0; }
.section.tint { background: var(--paper-2); }
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 38px; }
  .outro { padding: 10px 0 90px; }
  .outro-perch { margin-top: 140px; }
}
.wave { position: absolute; left: 0; right: 0; height: 28px; pointer-events: none; }
.wave-top { top: -27px; background: var(--paper-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 28'%3E%3Cpath d='M0 28V16C20 16 20 4 40 4s20 12 40 12 20-12 40-12 20 12 40 12v12z'/%3E%3C/svg%3E") repeat-x bottom / 160px 28px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 28'%3E%3Cpath d='M0 28V16C20 16 20 4 40 4s20 12 40 12 20-12 40-12 20 12 40 12v12z'/%3E%3C/svg%3E") repeat-x bottom / 160px 28px; }
.wave-bottom { bottom: -27px; background: var(--paper-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 28'%3E%3Cpath d='M0 0v12c20 0 20 12 40 12s20-12 40-12 20 12 40 12 20-12 40-12V0z'/%3E%3C/svg%3E") repeat-x top / 160px 28px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 28'%3E%3Cpath d='M0 0v12c20 0 20 12 40 12s20-12 40-12 20 12 40 12 20-12 40-12V0z'/%3E%3C/svg%3E") repeat-x top / 160px 28px; }

.sec-head { max-width: 700px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--caramel-text); letter-spacing: .14em; margin-bottom: 12px;
}
.lang-en .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; }
.kicker::before, .kicker::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--apricot); }
.sec-head h2 { font-size: clamp(28px, 4vw, 44px); }
.sec-lead { margin-top: 16px; color: var(--ink-2); font-size: 18px; }

/* ---------------------------------------------------------------- paw */

.paw { width: 1.05em; height: 1.05em; flex: none; fill: var(--caramel); margin-top: .32em; }

/* ---------------------------------------------------------------- play */
/* Words on one side, the stir demo on the other. */

.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.feature .sec-head { margin: 0; }
.demo-card { padding: 50px 50px 26px; }
.demo { position: relative; aspect-ratio: 4 / 3; max-width: 440px; margin: 0 auto; }
.demo-board {
  position: absolute; inset: 0; border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #f6e2c4, #ecd2ac);
  box-shadow: inset 0 2px 12px rgba(120, 80, 40, .18), 0 0 0 6px #fff5e6, 0 0 0 7.5px var(--line-2);
}
.demo-cats { position: absolute; inset: 0; overflow: hidden; border-radius: 30px; }
.demo .cat {
  position: absolute; width: 25%; height: 33.333%; padding: 2.2%;
  transition: left .5s cubic-bezier(.5, 0, .2, 1), top .5s cubic-bezier(.5, 0, .2, 1), transform .45s ease, opacity .45s ease;
  will-change: left, top, transform;
}
.demo .cat img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(110, 70, 40, .2)); }
.demo .cat.melt { transform: scale(.2); opacity: 0; }
.demo .cat.ready { transform: scale(1.1); }
.demo .cat.ready img { filter: drop-shadow(0 0 7px rgba(255, 236, 190, .95)) drop-shadow(0 3px 3px rgba(110, 70, 40, .2)); }
.demo-loop { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.demo-loop rect {
  /* Caramel while it is drawn, green once it is back at the start (as in the game). */
  fill: none; stroke: var(--caramel); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  opacity: 0;
}
.demo-loop rect.closed { stroke: #6f9d62; }
.demo-spoon {
  /* A fingertip on glass: a soft round touch mark, as screen recordings show it. */
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .85) 0 45%, rgba(255, 255, 255, .45) 46% 100%);
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .28), 0 6px 14px rgba(75, 52, 40, .28);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.demo-toggle {
  /* In the card's corner, clear of the cats. */
  position: absolute; right: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--card); box-shadow: var(--shadow); cursor: pointer;
  display: grid; place-items: center; color: var(--ink-2);
}
.demo-toggle i { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.demo-toggle.is-paused i { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.demo-toggle:hover { background: #fff; }
.demo-spark { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #fff3d6; box-shadow: 0 0 8px 2px #ffe1a6; pointer-events: none; animation: spark .7s ease-out forwards; }
@keyframes spark { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.demo-caption { text-align: center; margin-top: 26px; font-weight: 600; font-size: 18px; min-height: 3.2em; line-height: 1.6; color: var(--ink); transition: opacity .3s; }

.flavors { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.flavor-icons { display: inline-flex; gap: 2px; }
.flavor-icons img { width: 26px; height: 26px; }

/* The three steps, side by side under the demo. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.step { padding: 24px 24px 26px; }
.step-no {
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px;
  display: grid; place-items: center; font-weight: 700; font-size: 17px; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--rose-2), var(--rose));
  box-shadow: 0 6px 12px -6px rgba(152, 91, 81, .8);
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 0; }
  .feature .sec-head { margin: 0 auto 38px; text-align: center; }
  .demo-card { padding: 54px 20px 20px; }
  .steps { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 20px 20px 22px; }
  .step-no { grid-row: span 2; margin: 0; }
}

/* ---------------------------------------------------------------- cat */
/* The kitten's faces at the edge of the cup, standing on a shelf line. */

.peek-card { padding: 34px 34px 30px; text-align: center; }
.peeks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.peeks li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 26px; }
.peek-pic { position: relative; display: block; width: 82%; max-width: 140px; }
.peek-pic::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -3px; height: 3px; border-radius: 2px; background: var(--line-2); }
.peek-pic img { position: relative; z-index: 1; width: 100%; transition: transform .3s; transform-origin: 50% 100%; }
/* The pointing cat's paw hangs 13.7% of his height (15.2% of his width)
   below the cut, over the shelf's edge. */
.peek-pic.peek-point img { margin-bottom: -15.2%; }
.peeks li:hover img { transform: translateY(-4px) rotate(-2deg); }
.peeks li > span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; min-height: 3em; text-wrap: balance; }
@media (max-width: 640px) {
  .peek-card { padding: 30px 16px 22px; }
  .peeks { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 22px; }
  .peeks li { width: calc(50% - 14px); }
}

/* ---------------------------------------------------------------- shots */

.shots-head { position: relative; }
.shots .sec-head { margin-bottom: 40px; }
.rail-buttons { position: absolute; right: 0; bottom: 4px; display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card);
  display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .2s, background .2s;
}
.rail-btn:hover { transform: translateY(-2px); background: #fff; }
.rail-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn.next svg { transform: scaleX(-1); }
.shot-rail {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(20px, calc((100% - var(--wrap)) / 2)) 30px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.shot { flex: none; width: 300px; margin: 0; scroll-snap-align: center; }
.shot img { border-radius: 26px; box-shadow: 0 20px 36px -22px rgba(75, 52, 40, .55), 0 0 0 1.5px var(--line); }
@media (max-width: 860px) { .rail-buttons { display: none; } }
@media (max-width: 640px) { .shot { width: 70%; } }

/* ---------------------------------------------------------------- places */
/* Five places with nobody in them yet. */

.place-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.place { padding: 0; display: flex; flex-direction: column; transition: transform .3s; }
.place::after { display: none; }
.place:nth-child(even) { transform: translateY(26px); }
.place:hover { transform: translateY(-4px); }
.place:nth-child(even):hover { transform: translateY(22px); }
.place-art { aspect-ratio: 1 / 1.05; overflow: hidden; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
.place-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.place:hover .place-art img { transform: scale(1.05); }
.place-text { padding: 16px 18px 20px; }
.place-no { font-size: 12.5px; font-weight: 700; color: var(--caramel-text); letter-spacing: .1em; }
.place h3 { font-size: 19px; margin: 2px 0 6px; }
.place p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; text-wrap: balance; }
.pieces { margin-top: 70px; padding: 26px 30px; display: flex; align-items: center; gap: 28px; }
.pieces h3 { font-size: 18px; flex: none; max-width: 9em; }
.lang-en .pieces h3 { max-width: 11em; }
.pieces ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; flex: 1; }
.pieces li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; align-items: center; }
.pieces img { grid-row: span 2; width: 52px; height: 52px; object-fit: contain; }
.pieces b { font-size: 16px; font-weight: 600; }
.pieces li > span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }

@media (max-width: 980px) {
  .place-list { grid-template-columns: repeat(5, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 40px; margin: 0 -20px; padding-inline: 20px; scrollbar-width: none; }
  .place-list::-webkit-scrollbar { display: none; }
  .place { scroll-snap-align: center; }
  .place:nth-child(even) { transform: none; }
  .place:nth-child(even):hover { transform: translateY(-4px); }
  .pieces { flex-direction: column; align-items: stretch; margin-top: 30px; }
  .pieces h3 { text-align: center; max-width: none; }
  .lang-en .pieces h3 { max-width: none; }
  .pieces ul { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 600px) and (max-width: 980px) { .place-list { grid-template-columns: repeat(5, 40%); } }
@media (max-width: 400px) { .pieces ul { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- gifts */
/* The things you can give. What happens after is the game's to show. */

.shelf { padding: 30px 24px 22px; }
.items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; }
.items li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; }
.items img { width: 78%; max-width: 120px; height: auto; filter: drop-shadow(0 8px 8px rgba(75, 52, 40, .18)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.items li:hover img { transform: translateY(-6px) rotate(-4deg); }
.items li > span { font-size: 14.5px; color: var(--ink-2); text-align: center; line-height: 1.4; }
.foot { text-align: center; margin-top: 38px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .items { grid-template-columns: repeat(3, 1fr); row-gap: 22px; } }

/* ---------------------------------------------------------------- daily */

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { padding: 26px 26px 26px; text-align: center; }
.mode-art { display: grid; place-items: end center; height: 104px; margin-bottom: 14px; }
.mode-art img { max-height: 100px; width: auto; filter: drop-shadow(0 10px 10px rgba(75, 52, 40, .2)); }
.mode h3 { font-size: 21px; margin-bottom: 8px; }
.mode p { color: var(--ink-2); font-size: 15.5px; }
.promise-perch { margin-top: 160px; }
.promise { padding: 34px 36px 32px; text-align: center; background: linear-gradient(180deg, #fffaf1, #fbefdc); }
.promise h3 { font-size: 24px; margin-bottom: 18px; }
.promise .chips { max-width: 600px; margin: 0 auto; }
@media (max-width: 760px) {
  .modes { grid-template-columns: 1fr; }
  .mode { display: grid; grid-template-columns: 84px 1fr; column-gap: 16px; text-align: left; align-items: center; padding: 20px 22px; }
  .mode-art { grid-row: span 2; height: auto; margin: 0; place-items: center; }
  .mode-art img { max-height: 76px; }
  .promise { padding: 30px 18px 26px; }
}
@media (max-width: 380px) {
  /* Too narrow for picture and words side by side. */
  .mode { grid-template-columns: 1fr; text-align: center; }
  .mode-art { grid-row: auto; margin-bottom: 8px; }
}

/* ---------------------------------------------------------------- chips */

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.chips li { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 16px 7px 13px; font-size: 15px; }
.chips .paw { margin-top: 0; width: 15px; height: 15px; }
/* Reassurance under the store badge: small, not the headline. */
@media (max-width: 380px) { .chips li { white-space: normal; } }


/* ---------------------------------------------------------------- faq */

.qa-list { display: grid; gap: 14px; }
.qa { padding: 0; border-radius: 20px; }
.qa::after { border-radius: 15px; }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px; font-weight: 600; font-size: 17.5px; min-height: 44px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); flex: none; transition: transform .3s, background .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink-2); border-radius: 2px; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.qa[open] summary i { background: var(--sage-2); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { padding: 0 26px 22px; color: var(--ink-2); font-size: 16px; }

/* ---------------------------------------------------------------- perch */
/* The cat perches behind a card, paws on its top edge. */

.perch { position: relative; margin-top: 176px; }
.perch > .card { z-index: 1; }
.perch-cat { position: absolute; z-index: 0; top: 14px; left: 50%; width: 150px; transform: translate(-50%, -100%); }
/* The pointing cat's body is cut 13.7% above the bottom of his picture: that
   cut sits on the card's top edge, and the paw hangs over the front. */
.perch-cat.perch-point { z-index: 2; top: 23px; }

/* ---------------------------------------------------------------- outro */

.outro { padding: 40px 0 120px; }
.outro-perch { max-width: 760px; margin: 150px auto 0; }
.outro-perch .perch-cat { width: 170px; }
.outro-card { text-align: center; padding: 52px 30px 50px; background: linear-gradient(180deg, #fffaf1, #fbefdc); }
.outro-card h2 { font-size: clamp(26px, 3.4vw, 36px); }
.outro-card p { color: var(--ink-2); margin: 10px 0 28px; }
/* Honest pricing in one line, under the badge. */
.outro-card .store-badge { margin: 0; }
.outro-card .price { max-width: 30em; margin: 22px auto 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* ---------------------------------------------------------------- footer */

.site-footer { position: relative; background: #efe2c9; padding: 54px 0 34px; }
.footer-wave { background: #efe2c9; }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-name b { font-size: 18px; font-weight: 600; }
.footer-word { width: 150px; height: auto; margin: -4px 0 -2px -4px; }
.footer-brand p { color: var(--ink-2); font-size: 14.5px; }
.footer-links { display: flex; gap: 4px 14px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 10px 6px; border-bottom: 1.5px solid var(--line-2); }
.footer-links a:hover { color: var(--rose); border-color: var(--rose-2); }
.footer-small { grid-column: 1 / -1; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 18px; }
.footer-paws { position: absolute; right: 4%; bottom: 14px; display: flex; gap: 18px; opacity: .22; transform: rotate(-12deg); }
.footer-paws .paw { width: 26px; height: 26px; fill: var(--ink-2); }
.footer-paws .paw:nth-child(odd) { transform: translateY(-14px); }
@media (max-width: 700px) {
  .footer-in { grid-template-columns: 1fr; } .footer-paws { display: none; }
  .footer-small .sep { display: none; }
  .footer-small .no-track { display: block; }
}

/* ---------------------------------------------------------------- docs */

.doc { padding: 50px 0 110px; }
.doc-head { text-align: center; margin-bottom: 10px; }
.doc-head h1 { font-size: clamp(32px, 4.5vw, 46px); }
.prose { padding: 40px 46px; }
.prose h1 { display: none; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; padding-left: 14px; border-left: 4px solid var(--apricot); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0; display: grid; gap: 6px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--caramel); }
.prose strong { color: var(--ink); }
.contact { text-align: center; padding: 40px 30px 34px; }
.perch + .qa-list { margin-top: 36px; }
.contact h2 { font-size: 24px; margin-bottom: 8px; }
.contact p { color: var(--ink-2); max-width: 30em; margin: 0 auto 20px; }
.mail { display: inline-block; font-size: 19px; font-weight: 600; text-decoration: none; background: var(--rose); color: #fff; padding: 12px 26px; border-radius: 999px; box-shadow: 0 10px 18px -12px rgba(152, 91, 81, .9); }
.mail:hover { background: #864c43; }
@media (max-width: 640px) { .prose { padding: 30px 22px; } .contact { padding: 34px 18px 28px; } .mail { font-size: 16px; padding: 11px 18px; max-width: 100%; overflow-wrap: anywhere; } }

.lost { text-align: center; }
.lost-card { padding: 44px 30px 36px; }
.lost h1 { font-size: 34px; margin-bottom: 8px; }
.lost p { color: var(--ink-2); margin-bottom: 8px; }
.lost-en { color: var(--muted) !important; font-size: 15px; margin-bottom: 26px !important; letter-spacing: 0; }
.lost-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; min-height: 46px; padding: 10px 24px; border-radius: 999px; background: var(--rose); color: #fff; text-decoration: none; font-weight: 600; border: 1.5px solid var(--rose); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }

/* ---------------------------------------------------------------- reveal */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .place.reveal.in:nth-child(even) { transform: translateY(26px); }
@media (max-width: 980px) { .js .place.reveal.in:nth-child(even) { transform: none; } }

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