/* wisplet.kadirhan.dev: static, no cookies, no fonts or scripts from other sites.
   The look is the app's cosy pastel world (design/art-direction.md, App/Kit.swift, Shared/Palette.swift): a day sky
   that fades to cream down the page, plum ink at three strengths, cream cards sitting on a darker lip with a soft
   plum shadow, chunky pink and cream buttons that press down onto their lip, heavy rounded type with a white
   sticker outline, and the pet standing on a grassy hill with one glow behind it whose colour is its mood.
   Clouds, grass tufts and flowers are small inline SVGs below (data: URIs, nothing is fetched). */
:root {
  --sky1: #8fd3ff; --sky2: #c4eaff; --sky3: #e4f8ec;
  --page: #fff5ec;
  --card: #fffbf4;
  --lip: #e8d8ee;
  --ink: #3b2547;
  --ink2: #5e4a6e;
  --ink3: #74638a; /* only on cream and white */
  --line: rgba(59, 37, 71, 0.1);
  --fill: rgba(59, 37, 71, 0.06);
  --pink1: #e85a88; --pink2: #c92f63; --pink-lip: #9c2352; --pink-soft: #ffd9e4; --pink-soft-lip: #f2b6ca;
  --link: #c2356a;
  --hill1: #a6de8c; --hill2: #7fc46c;
  --drop: 0 14px 28px rgba(107, 78, 134, 0.16);
  --card-shadow: inset 0 0 0 2px #fff, 0 5px 0 var(--lip), var(--drop);
  --tint: #ffe27a;
  --round: ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 62'%3E %3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='8' x2='0' y2='60'%3E%3Cstop offset='.45' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23e2f1fb'/%3E%3C/linearGradient%3E %3Cg fill='url(%23g)'%3E%3Crect x='6' y='34' width='108' height='26' rx='13'/%3E%3Ccircle cx='36' cy='36' r='18'/%3E%3Ccircle cx='64' cy='28' r='24'/%3E%3Ccircle cx='92' cy='40' r='14'/%3E%3C/g%3E%3C/svg%3E");
  --tuft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='%236fb35c' d='M2 16 4.5 5 7 16zM8 16l4-15 4 15zM17 16l3.5-10L22 16z'/%3E%3C/svg%3E");
  --daisy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='10.00' cy='5.40' r='3.6'/%3E%3Ccircle cx='14.37' cy='8.58' r='3.6'/%3E%3Ccircle cx='12.70' cy='13.72' r='3.6'/%3E%3Ccircle cx='7.30' cy='13.72' r='3.6'/%3E%3Ccircle cx='5.63' cy='8.58' r='3.6'/%3E%3C/g%3E%3Ccircle cx='10' cy='10' r='3' fill='%23ffb238'/%3E%3C/svg%3E");
  --bloom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='%23ff9dc2'%3E%3Ccircle cx='10.00' cy='5.40' r='3.6'/%3E%3Ccircle cx='14.37' cy='8.58' r='3.6'/%3E%3Ccircle cx='12.70' cy='13.72' r='3.6'/%3E%3Ccircle cx='7.30' cy='13.72' r='3.6'/%3E%3Ccircle cx='5.63' cy='8.58' r='3.6'/%3E%3C/g%3E%3Ccircle cx='10' cy='10' r='3' fill='%23ffd84d'/%3E%3C/svg%3E");
  --hill: linear-gradient(var(--hill1), var(--hill2) 75%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--page); }
body {
  margin: 0;
  min-height: 100vh;
  font: 500 17px/1.55 var(--round);
  color: var(--ink);
  /* The day sky at the top of every page, fading to cream further down. */
  background: linear-gradient(var(--sky1) 0, #b3e2ff 520px, var(--sky2) 900px, var(--sky3) 1500px, var(--page) 2300px) var(--page) no-repeat;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.08; letter-spacing: 0; text-wrap: balance; overflow-wrap: break-word; }
/* Sticker type: a white outline all round and a soft lavender drop under it (Kit.swift, stickerText). */
h1, h2, .state, .w-word, .plan h3 {
  --o: 3px;
  font-weight: 900;
  text-shadow:
    var(--o) 0 #fff, calc(var(--o) * -1) 0 #fff, 0 var(--o) #fff, 0 calc(var(--o) * -1) #fff,
    calc(var(--o) * 0.87) calc(var(--o) * 0.5) #fff, calc(var(--o) * -0.87) calc(var(--o) * 0.5) #fff,
    calc(var(--o) * 0.87) calc(var(--o) * -0.5) #fff, calc(var(--o) * -0.87) calc(var(--o) * -0.5) #fff,
    calc(var(--o) * 0.5) calc(var(--o) * 0.87) #fff, calc(var(--o) * -0.5) calc(var(--o) * 0.87) #fff,
    calc(var(--o) * 0.5) calc(var(--o) * -0.87) #fff, calc(var(--o) * -0.5) calc(var(--o) * -0.87) #fff,
    0 calc(var(--o) * 1.9) rgba(107, 78, 134, 0.3);
}
p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 3px solid var(--pink2); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- chunky buttons: a face on a darker lip, pressed down onto it ---------- */
.soon, .btn, .w-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 99px; color: #fff; font-weight: 800; letter-spacing: 0.005em;
  background: linear-gradient(var(--pink1), var(--pink2));
  text-shadow: 0 1.5px 0 rgba(168, 42, 87, 0.75);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18), 0 6px 0 var(--pink-lip), 0 12px 22px rgba(168, 42, 87, 0.28);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
a.soon:active, .btn:active, .w-call:active {
  transform: translateY(4px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18), 0 2px 0 var(--pink-lip), 0 5px 10px rgba(168, 42, 87, 0.24);
  transition-duration: 0.08s;
}
/* The cream twin, for quieter actions. */
.more a, .btn.quiet {
  color: var(--ink); text-shadow: none;
  background: var(--card);
  box-shadow: inset 0 0 0 2px #fff, 0 4px 0 var(--lip), 0 8px 16px rgba(107, 78, 134, 0.12);
}
.more a:active, .btn.quiet:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px #fff, 0 1px 0 var(--lip), 0 3px 8px rgba(107, 78, 134, 0.12); }

/* ---------- top bar: a floating cream capsule with a lip ---------- */
.bar { position: sticky; top: 0; z-index: 10; padding: 10px 12px 0; }
.bar-in {
  display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 10px 0 12px; border-radius: 99px;
  background: rgba(255, 251, 244, 0.94); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 2px #fff, 0 4px 0 var(--lip), 0 12px 26px rgba(107, 78, 134, 0.14);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 11px; box-shadow: 0 0 0 2px #fff, 0 3px 0 2px var(--lip); }
.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 800; color: var(--ink2); padding: 8px 14px; border-radius: 99px; transition: color 0.15s, background 0.15s, box-shadow 0.15s; }
.nav a:hover { color: var(--ink); background: #fff; box-shadow: 0 3px 0 var(--lip); }
.nav a[aria-current] { color: var(--ink); background: var(--pink-soft); box-shadow: 0 3px 0 var(--pink-soft-lip); }
/* The language switcher: a sunken track, the current language in a pink pill, like the app's tab bar. */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 99px; background: var(--fill); box-shadow: inset 0 2px 0 rgba(59, 37, 71, 0.05); }
.seg a { text-decoration: none; font-size: 13px; font-weight: 800; line-height: 1; padding: 8px 12px; border-radius: 99px; color: var(--ink2); transition: color 0.15s, background 0.15s; }
.seg a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.seg a[aria-current] { background: var(--pink-soft); color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff, 0 2px 0 var(--pink-soft-lip); }
.soon-chip { font-size: 13px; font-weight: 800; line-height: 1; padding: 10px 14px; border-radius: 99px; color: var(--ink2); background: #fff; box-shadow: 0 3px 0 var(--lip); white-space: nowrap; }
a.soon-chip { color: var(--link); text-decoration: none; transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1); }
a.soon-chip:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--lip); }

/* ---------- hero: a day sky, clouds, and the pet on its hill ---------- */
.hero { position: relative; padding: 44px 0 64px; isolation: isolate; }
/* The one light source: the mood colour, pooled behind the pet, on a little warm haze. */
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: -60px 0 -100px;
  -webkit-mask-image: linear-gradient(transparent 20px, #000 200px, #000 62%, transparent); mask-image: linear-gradient(transparent 20px, #000 200px, #000 62%, transparent);
  background:
    radial-gradient(300px 300px at var(--gx, 74%) 44%, color-mix(in srgb, var(--tint) 62%, transparent), transparent 100%),
    radial-gradient(560px 480px at var(--gx, 74%) 46%, rgba(255, 250, 232, 0.75), transparent 100%);
  transition: background 0.6s;
  pointer-events: none;
}
/* Clouds. */
.hero::after {
  content: ''; position: absolute; z-index: -2; inset: 0; pointer-events: none;
  background:
    var(--cloud) right 3% top 18px / 150px auto no-repeat,
    var(--cloud) left 42% top 64px / 92px auto no-repeat,
    var(--cloud) left -26px bottom 34% / 120px auto no-repeat;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 800; color: var(--ink); background: #fff; padding: 7px 15px; border-radius: 99px; box-shadow: 0 3px 0 var(--lip); transform: rotate(-2deg); margin-bottom: 22px; }
.hero h1 { --o: 5px; font-size: clamp(46px, 6.4vw, 80px); line-height: 1.02; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink2); max-width: 34em; }
.hero .lead { margin-top: 24px; font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; }
.cta { margin-top: 34px; }
.soon { height: 58px; padding: 0 28px 0 24px; font-size: 19px; }
.soon::before { content: ''; flex: none; width: 11px; height: 11px; border-radius: 50%; background: #ffe066; box-shadow: 0 0 0 3.5px rgba(255, 255, 255, 0.45); }
/* Once the App Store link is set (build.mjs), the same button becomes the link and its dot turns green. */
a.soon { text-decoration: none; }
a.soon::before { background: #9ff0b2; }
.under { margin-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--ink2); }

/* The stage is a grid so the hill can sit under the mood word, line and hint and rise up to the pet's feet. */
.stage { display: grid; justify-items: center; text-align: center; }
.stage > * { grid-column: 1; }
.stage::before {
  content: ''; grid-row: 2 / 5; grid-column: 1; justify-self: stretch; z-index: -1; pointer-events: none;
  margin: -46px -170px -96px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background:
    var(--tuft) left 37% top 14px / 22px auto no-repeat,
    var(--tuft) right 34% top 12px / 18px auto no-repeat,
    var(--daisy) left 25% top 58px / 22px auto no-repeat,
    var(--bloom) right 23% top 52px / 20px auto no-repeat,
    var(--daisy) right 31% top 122px / 16px auto no-repeat,
    var(--bloom) left 19% top 140px / 15px auto no-repeat,
    var(--hill);
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.38);
  -webkit-mask-image: linear-gradient(#000 52%, transparent 96%); mask-image: linear-gradient(#000 52%, transparent 96%);
}
.pet-btn { grid-row: 1; display: block; width: min(100%, 420px); margin: 0 auto -10px; border-radius: 40px; -webkit-tap-highlight-color: transparent; }
.pet-btn svg { width: 100%; height: auto; overflow: visible; display: block; transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.pet-btn:active svg { transform: scale(0.96); }
.state { --o: 4px; grid-row: 2; font-size: clamp(44px, 5.6vw, 64px); line-height: 1.05; }
.state-line { grid-row: 3; margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.hint { grid-row: 4; margin-top: 16px; display: inline-block; font-size: 13.5px; font-weight: 800; color: var(--ink2); padding: 8px 15px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1.5px #fff, 0 3px 0 rgba(78, 140, 64, 0.45); }

/* ---------- the creature's motion (the shapes come from creature.js) ---------- */
.creature .c-breathe { transform-origin: 50px 92px; animation: breathe 2.6s ease-in-out infinite alternate; }
.creature.is-asleep .c-breathe { animation-name: breathe-deep; animation-duration: 4.8s; }
.creature .c-stalk { transform-origin: 50px 42px; animation: sway 4.5s ease-in-out infinite alternate; }
.creature .c-halo { animation: halo 2.7s ease-in-out infinite alternate; }
.creature.is-sick .c-halo { animation: flicker 1.4s steps(1) infinite; }
.creature .c-blink { opacity: 0; animation: blink 4.3s infinite; }
.creature .c-open { animation: unblink 4.3s infinite; }
.creature.is-delighted .c-lift { animation: hop 0.75s cubic-bezier(0.3, 0, 0.7, 1) infinite alternate; }
.creature .c-twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.1s ease-in-out infinite; }
.creature .c-z { animation: zed 3.6s ease-in-out infinite; }
@keyframes breathe { from { transform: scale(1, 1); } to { transform: scale(0.988, 1.025); } }
@keyframes breathe-deep { from { transform: scale(1, 1); } to { transform: scale(0.985, 1.045); } }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes halo { from { opacity: 1; } to { opacity: 0.7; } }
@keyframes flicker { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.4; } }
@keyframes blink { 0%, 95.9%, 100% { opacity: 0; } 96%, 99% { opacity: 1; } }
@keyframes unblink { 0%, 95.9%, 100% { opacity: 1; } 96%, 99% { opacity: 0; } }
@keyframes hop { from { transform: translateY(0); } to { transform: translateY(-3.5px); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.6); } }
@keyframes zed { 0%, 100% { opacity: 0.2; transform: translate(0, 1.5px); } 50% { opacity: 1; transform: translate(-1px, -1px); } }
/* demo.js puts .swap on the pet's box when the mood changes; only the drawing pops, the hill under it stays put. */
.swap svg { animation: swap 0.35s ease-out; }
@keyframes swap { from { opacity: 0.4; transform: scale(0.96); } }

/* ---------- sections ---------- */
.block { padding-top: 72px; padding-bottom: 72px; }
.block-head { margin-bottom: 36px; }
.block h2, .final h2 { --o: 4px; font-size: clamp(34px, 4.8vw, 54px); }
.block-head .lead { margin-top: 16px; }
.more { margin-top: 30px; }
.more a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 16px; padding: 13px 22px; border-radius: 99px; transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.25s; }
.more a span { color: var(--link); }

/* ---------- demo ---------- */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 36px; align-items: start; }
.demo-stage { position: sticky; top: 96px; }
/* The medium widget (Shared/WidgetFaces.swift, MediumWidgetFace) on the Hollow theme: a day sky with clouds, the pet
   on a grassy hill, plum text, thick need bars and round care buttons in the care colours. Drawn larger than life. */
.widget {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ink);
  display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: center; gap: 4%;
  padding: 26px 30px 26px 14px; border-radius: 44px;
  background:
    var(--cloud) right 9% top 12px / 84px auto no-repeat,
    var(--cloud) left 33% top 26px / 52px auto no-repeat,
    linear-gradient(var(--sky1), var(--sky2) 55%, var(--sky3));
  box-shadow: 0 0 0 4px #fff, 0 9px 0 4px var(--lip), 0 26px 44px -10px rgba(107, 78, 134, 0.35);
}
.w-glow { position: absolute; z-index: -1; inset: 0; opacity: var(--glow, 0.8); transition: opacity 0.6s; }
.w-glow::before { content: ''; position: absolute; left: 24%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tint) 70%, transparent), color-mix(in srgb, var(--tint) 22%, transparent) 55%, transparent); transition: background 0.6s; }
.w-pet { position: relative; }
.w-pet svg { width: 100%; height: auto; overflow: visible; display: block; }
/* The hill under the pet, running off the widget's left and bottom edges. */
.w-pet::before {
  content: ''; position: absolute; z-index: -1; left: -70%; right: -34%; top: 89%; height: 160%;
  border-radius: 50% 50% 0 0 / 54px 54px 0 0;
  background:
    var(--tuft) left 70% top 10px / 18px auto no-repeat,
    var(--daisy) left 42% top 30px / 15px auto no-repeat,
    var(--bloom) left 86% top 24px / 13px auto no-repeat,
    var(--hill);
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.38);
}
.w-name { font-size: 15px; font-weight: 800; color: var(--ink2); line-height: 1.2; }
.w-word { --o: 3px; font-size: clamp(30px, 4.2vw, 40px); line-height: 1.1; margin-top: 2px; }
.w-line { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink2); min-height: 2.6em; margin-top: 4px; }
.w-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 14px 0 16px; }
.w-bars i, .meters i { display: block; height: 10px; border-radius: 99px; overflow: hidden; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85); }
.w-bars b, .meters b { display: block; height: 100%; border-radius: 99px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
/* Care colours (Palette.swift, CareColors): Tummy, Joy, Fresh, Energy, on pale tracks. */
i:has(> [data-bar='fullness']) { background: #ffe3c9; } [data-bar='fullness'] { background: #ffa552; }
i:has(> [data-bar='joy']) { background: #fff2bf; } [data-bar='joy'] { background: #ffd84d; }
i:has(> [data-bar='clean']) { background: #d8eeff; } [data-bar='clean'] { background: #7cc8ff; }
i:has(> [data-bar='energy']) { background: #e8dfff; } [data-bar='energy'] { background: #b59cff; }
.w-acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.w-acts button { --face: #ffa552; --lip: #e5782c; --glyph: #6b2e08; display: grid; justify-items: center; gap: 9px; font-size: 12.5px; font-weight: 800; color: var(--ink2); -webkit-tap-highlight-color: transparent; transition: opacity 0.2s, filter 0.2s; }
.w-acts [data-act='play'] { --face: #ffd84d; --lip: #e0aa14; --glyph: #5e4200; }
.w-acts [data-act='clean'] { --face: #7cc8ff; --lip: #3f9be0; --glyph: #0d3f66; }
.w-acts [data-act='sleep'] { --face: #b59cff; --lip: #8466e0; --glyph: #2e1a6b; }
.w-acts button::before {
  content: ''; grid-area: 1 / 1; width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(color-mix(in srgb, var(--face) 70%, #fff), var(--face) 55%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45), 0 4px 0 var(--lip), 0 7px 12px rgba(107, 78, 134, 0.2);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.w-acts svg { grid-area: 1 / 1; align-self: center; width: 23px; height: 23px; color: var(--glyph); position: relative; transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.w-acts button:hover::before { filter: brightness(1.04); }
.w-acts button:active::before, .w-acts button:active svg { transform: translateY(3px); }
.w-acts button:active::before { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45), 0 1px 0 var(--lip), 0 3px 6px rgba(107, 78, 134, 0.2); transition-duration: 0.08s; }
/* The button that would help most gets a white ring and a little bounce. */
.w-acts .hot { color: var(--ink); }
.w-acts .hot::before { box-shadow: 0 0 0 3.5px #fff, 0 4px 0 3.5px var(--lip), 0 8px 16px rgba(107, 78, 134, 0.3); animation: nudge 1.6s ease-in-out infinite; }
.w-acts .hot svg { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-4px); } 90% { transform: translateY(0); } }
.w-acts .dim { opacity: 0.45; filter: saturate(0.35); }
.w-acts .i-sun, .w-acts .waking .i-moon { display: none; }
.w-acts .waking .i-sun { display: block; }
.w-call { display: none; height: 50px; padding: 0 26px; margin: 16px 0 6px; font-size: 19px; }
.widget[data-mood='away'] .w-bars, .widget[data-mood='away'] .w-acts { display: none; }
.widget[data-mood='away'] .w-call { display: inline-flex; }
.demo-stage .note { text-align: center; max-width: 34em; margin: 10px auto 0; }
/* The toast: a cream pill with a heart, like the app's. Hidden (but keeping its place) when there is nothing to say. */
.toast { display: table; margin: 26px auto 0; min-height: 1.6em; text-align: center; font-weight: 800; color: var(--ink); padding: 9px 18px 9px 16px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 2px #fff, 0 4px 0 var(--lip), 0 10px 20px rgba(107, 78, 134, 0.12); }
.toast::before { content: '♥'; color: #ff6f9a; margin-right: 8px; }
.toast:empty { visibility: hidden; }

.panel { border-radius: 28px; background: var(--card); box-shadow: var(--card-shadow); padding: 22px; }
.panel-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip { margin-right: auto; font-size: 13.5px; font-weight: 800; color: var(--ink); padding: 8px 13px; border-radius: 99px; background: #ece3fa; box-shadow: inset 0 0 0 1.5px #fff; font-variant-numeric: tabular-nums; }
.btn { height: 48px; padding: 0 20px; font-size: 19px; }
.btn svg { width: 18px; height: 18px; filter: drop-shadow(0 1.5px 0 rgba(168, 42, 87, 0.75)); }
.btn.quiet { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn.wide { width: 100%; margin-top: 16px; height: 52px; }
.meters { margin-top: 24px; display: grid; gap: 13px; }
.meters > div { display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 12px; }
.meters dt { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; color: var(--ink); }
.meters dt svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 8px; color: #fff; }
.meters > div:nth-child(1) dt svg { background: #ffa552; box-shadow: 0 2px 0 #e5782c; }
.meters > div:nth-child(2) dt svg { background: #ffd84d; box-shadow: 0 2px 0 #e0aa14; }
.meters > div:nth-child(3) dt svg { background: #7cc8ff; box-shadow: 0 2px 0 #3f9be0; }
.meters > div:nth-child(4) dt svg { background: #b59cff; box-shadow: 0 2px 0 #8466e0; }
.meters dd { display: grid; grid-template-columns: 1fr 46px; align-items: center; gap: 10px; }
.meters i { height: 13px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9), inset 0 2px 0 rgba(59, 37, 71, 0.06); }
.meters span { font-size: 14.5px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.what { margin-top: 24px; padding-top: 18px; border-top: 2px dashed var(--line); display: grid; gap: 10px; }
.what > div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 15px; line-height: 1.4; }
.what dt { font-weight: 800; }
.what dd { color: var(--ink2); }
.note { margin-top: 16px; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink2); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { border-radius: 28px; background: var(--card); box-shadow: var(--card-shadow); padding: 14px 14px 24px; }
.crop { border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 0.92; background: var(--sky2); }
.crop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
.crop.c-home img { object-position: 50% 0; }
.crop.c-pet img { object-position: 50% 38%; }
.crop.c-care img { object-position: 50% 36%; }
.num { display: grid; place-items: center; width: 34px; height: 34px; margin: 20px 8px 12px; border-radius: 50%; background: var(--pink2); color: #fff; font-size: 16px; font-weight: 900; box-shadow: 0 0 0 2.5px #fff, 0 3px 0 2.5px var(--pink-lip); transform: rotate(-6deg); }
.step h3 { font-size: 24px; font-weight: 900; margin: 0 8px; }
.step p { margin: 8px 8px 0; font-size: 16px; color: var(--ink2); }

/* ---------- moods: each one a little sky with its own hill ---------- */
.moods { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.moods li {
  position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; text-align: center;
  padding: 12px 4px 14px; border-radius: 24px;
  background: linear-gradient(#a6dcff, #d3efff 75%);
  box-shadow: 0 4px 0 var(--lip), 0 10px 20px rgba(107, 78, 134, 0.14);
  outline: 2px solid #fff; outline-offset: -2px; /* drawn over the hill too */
}
.moods li::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 42%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tint) 70%, transparent), color-mix(in srgb, var(--tint) 20%, transparent) 55%, transparent); }
.moods li::after { content: ''; grid-row: 2; grid-column: 1; justify-self: stretch; z-index: -1; margin: -13px -4px -14px; border-radius: 50% 50% 0 0 / 16px 16px 0 0; background: var(--hill); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.38); }
.moods svg { grid-row: 1; grid-column: 1; width: 100%; height: auto; display: block; overflow: visible; }
.moods b { grid-row: 2; grid-column: 1; display: block; margin-top: 7px; font-size: 15px; font-weight: 900; line-height: 1.1; color: var(--ink); }

/* ---------- feature rows ---------- */
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 28px; background: var(--card); box-shadow: var(--card-shadow); overflow: hidden; }
.rows li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 22px 24px; border-bottom: 1.5px solid var(--line); }
.rows li:nth-child(odd) { border-right: 1.5px solid var(--line); }
.rows li:nth-last-child(-n + 2) { border-bottom: 0; }
/* Colourful lipped tiles with white glyphs (Kit.swift, IconTile). */
.tile { --face: #ffa552; --tlip: #e5782c; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: linear-gradient(color-mix(in srgb, var(--face) 78%, #fff), var(--face)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3), 0 3px 0 var(--tlip); }
.tile svg { width: 22px; height: 22px; filter: drop-shadow(0 1.5px 0 color-mix(in srgb, var(--tlip) 80%, #000)); }
.t-amber { --face: #ffa552; --tlip: #e5782c; } .t-violet { --face: #b59cff; --tlip: #8466e0; } .t-blue { --face: #7cc8ff; --tlip: #3f9be0; }
.t-lime { --face: #9fd85f; --tlip: #6fae36; } .t-ember { --face: #ff8f5e; --tlip: #d9603a; } .t-plum { --face: #ff9dc2; --tlip: #d76795; }
.t-green { --face: #4cc38a; --tlip: #2e9e68; }
.rows h3 { font-size: 19px; font-weight: 900; line-height: 1.2; }
.rows p { margin-top: 5px; font-size: 15.5px; line-height: 1.45; color: var(--ink2); }

/* ---------- screenshots ---------- */
.strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(22px, calc((100vw - 1120px) / 2 + 22px)) 34px; scrollbar-width: thin; scrollbar-color: var(--lip) transparent; }
.strip li { flex: none; width: 250px; scroll-snap-align: center; }
.strip img { width: 100%; border-radius: 30px; background: var(--sky2); box-shadow: 0 0 0 4px #fff, 0 8px 0 4px var(--lip), 0 18px 30px rgba(107, 78, 134, 0.18); }
.strip p { margin: 20px 6px 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink2); }

/* ---------- plans: cream, petal pink and mint, like the paywall's cards ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.plan { --dot: #ffa552; border-radius: 28px; background: var(--card); box-shadow: var(--card-shadow); padding: 24px; }
.plan:nth-child(2) { --dot: #ff7fa8; background: linear-gradient(#fff4f8, #ffe6ef); box-shadow: inset 0 0 0 2px #fff, 0 5px 0 #f3c3d5, var(--drop); }
.plan.plus { --dot: #3fb87e; position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(#eafbf1, #cdf2dc); box-shadow: inset 0 0 0 2px #fff, 0 5px 0 #9fd9b8, var(--drop); }
.plan.plus::before { content: ''; position: absolute; z-index: -1; right: -30%; top: -40%; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 233, 140, 0.6), transparent); }
.tag { display: inline-block; font-size: 13px; font-weight: 900; color: var(--ink); padding: 5px 12px; border-radius: 99px; background: #e6dcff; box-shadow: inset 0 0 0 2px #fff; transform: rotate(-2deg); }
.plan:nth-child(2) .tag { background: #ffd0df; }
.plan.plus .tag { background: #bdebd2; }
.plan h3 { --o: 3px; font-size: 32px; margin: 10px 0 16px; }
.plan li { position: relative; padding: 9px 0 9px 24px; font-size: 16px; line-height: 1.4; border-top: 1.5px solid var(--line); }
.plan li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 2px #fff; }
.plan .note { padding-top: 14px; border-top: 1.5px solid var(--line); margin-top: 0; color: var(--ink2); }
.price-note { margin-top: 26px; font-size: 15px; font-weight: 600; color: var(--ink2); }

/* ---------- questions ---------- */
.qa { border-radius: 28px; background: var(--card); box-shadow: var(--card-shadow); overflow: hidden; }
.qa details { border-bottom: 1.5px solid var(--line); }
.qa details:last-child { border-bottom: 0; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 19px; font-weight: 800; line-height: 1.25; transition: background 0.15s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pink-soft); color: var(--link); box-shadow: inset 0 0 0 1.5px #fff, 0 2px 0 var(--pink-soft-lip); font-size: 20px; font-weight: 900; line-height: 1; transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { background: rgba(59, 37, 71, 0.03); }
.qa p { padding: 0 24px 22px; max-width: 46em; color: var(--ink2); }

/* ---------- last call and footer ---------- */
/* The last call is an evening scene (the evening sky of Palette.swift): the page's cream turns to dusk, and the
   sleeping pet lies on its hill with the words on the grass, like the app's first onboarding page. */
.final {
  position: relative; isolation: isolate; overflow: clip; text-align: center; padding: 150px 0 112px;
  background:
    var(--cloud) left 9% top 170px / 120px auto no-repeat,
    var(--cloud) right 11% top 118px / 86px auto no-repeat,
    linear-gradient(var(--page), #ecdff6 80px, #cdbcf4 260px, #e2c4ec 420px, #ffd5bd 560px);
}
.final::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 40px; width: 440px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2) 55%, transparent); }
.final-pet { position: relative; width: 220px; margin: 0 auto; }
.final-pet svg { width: 100%; height: auto; overflow: visible; display: block; }
/* The hill runs edge to edge and down under the footer. */
.final-pet::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 89%; width: max(1500px, 180vw); height: 700px; transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 150px 150px 0 0;
  background:
    var(--tuft) left calc(50% - 150px) top 16px / 22px auto no-repeat,
    var(--tuft) left calc(50% + 170px) top 18px / 18px auto no-repeat,
    var(--daisy) left calc(50% - 490px) top 50px / 22px auto no-repeat,
    var(--bloom) left calc(50% + 470px) top 44px / 20px auto no-repeat,
    var(--daisy) left calc(50% + 420px) top 150px / 18px auto no-repeat,
    var(--bloom) left calc(50% - 460px) top 170px / 16px auto no-repeat,
    linear-gradient(#9ccb8c, #77ae74 45%);
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.35);
}
.final h2 { margin: 26px 0 30px; }
.final .under { color: var(--ink); font-weight: 700; }
/* On the home page the footer's rounded top sits over the bottom of the hill. */
.landing .foot { position: relative; margin-top: -40px; }
.foot { padding: 38px 0 48px; font-size: 15px; color: var(--ink2); background: var(--card); border-radius: 36px 36px 0 0; box-shadow: inset 0 2px 0 #fff, 0 -10px 30px rgba(107, 78, 134, 0.08); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a { text-decoration: none; font-weight: 800; }
.foot-nav a:hover, .maker:hover { color: var(--link); }
.fine { margin-top: 18px; font-size: 13.5px; color: var(--ink3); max-width: 52em; }
.foot-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.maker { text-decoration: none; font-weight: 800; }

/* ---------- inner pages: the header on the sky, the text on a cream sheet ---------- */
.doc { max-width: 820px; padding-top: 40px; padding-bottom: 80px; }
.crumbs { font-size: 14px; font-weight: 700; color: var(--ink2); }
.crumbs a { text-decoration: none; color: var(--ink); font-weight: 800; }
.crumbs a:hover { color: var(--link); }
.doc h1 { --o: 4px; font-size: clamp(38px, 6.2vw, 62px); margin-top: 14px; }
.answer { margin-top: 18px; font-size: 20px; font-weight: 600; line-height: 1.45; color: var(--ink2); }
.updated { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.prose { margin-top: 34px; padding: 2px 36px 32px; border-radius: 30px; background: var(--card); box-shadow: inset 0 0 0 2px #fff, 0 6px 0 var(--lip), var(--drop); }
.prose > :first-child { margin-top: 30px; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { --o: 3px; font-size: 28px; line-height: 1.15; margin: 44px 0 12px; }
.prose h3 { font-size: 19px; font-weight: 900; line-height: 1.25; margin: 26px 0 6px; }
.prose p, .prose li { color: var(--ink); }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 7px 0; padding-left: 4px; }
.prose li::marker { color: var(--link); font-weight: 900; }
.prose b, .prose strong { color: var(--ink); font-weight: 800; }
.prose a { color: var(--link); font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: rgba(194, 53, 106, 0.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose .card { margin: 22px 0; padding: 18px 22px; border-radius: 22px; background: #f5eefb; box-shadow: inset 0 0 0 2px #fff, 0 4px 0 #e2d2ee; }
.prose .card p:first-child { margin-top: 0; } .prose .card p:last-child { margin-bottom: 0; }
.prose figure { margin: 28px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prose figure img { border-radius: 26px; background: var(--sky2); box-shadow: 0 0 0 4px #fff, 0 7px 0 4px var(--lip), 0 14px 24px rgba(107, 78, 134, 0.16); }
.prose figcaption { grid-column: 1 / -1; margin-top: 8px; font-size: 14px; color: var(--ink3); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1.5px solid var(--line); color: var(--ink); }
.prose th { font-weight: 900; white-space: nowrap; }
.prose .qa { margin: 8px 0; background: #fff; box-shadow: inset 0 0 0 2px #fff, 0 4px 0 #ecdff1, 0 10px 20px rgba(107, 78, 134, 0.1); }
.prose .qa p { margin: 0; color: var(--ink2); }
.lost { text-align: center; padding: 60px 22px 110px; }
.lost svg { width: 240px; height: auto; margin: 0 auto; display: block; overflow: visible; }
.lost h1 { --o: 4px; font-size: clamp(40px, 7vw, 64px); }
.lost p { margin: 14px 0 26px; color: var(--ink2); font-weight: 600; }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .moods { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 150px 1fr; column-gap: 12px; padding: 14px; align-content: start; }
  .step .crop { grid-row: 1 / 5; aspect-ratio: 1 / 1.25; }
  .num { margin-top: 6px; }
}
@media (max-width: 820px) {
  .hero { padding: 28px 0 40px; --gx: 50%; }
  .hero::before { background: radial-gradient(260px 260px at 50% 58%, color-mix(in srgb, var(--tint) 62%, transparent), transparent 100%), radial-gradient(460px 420px at 50% 60%, rgba(255, 250, 232, 0.75), transparent 100%); }
  .hero::after { background: var(--cloud) right -18px top 4px / 110px auto no-repeat, var(--cloud) left -30px top 52% / 104px auto no-repeat, var(--cloud) right 6% top 60% / 70px auto no-repeat; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .pet-btn { width: min(78%, 340px); }
  .stage::before { margin: -36px -140px -56px; }
  .demo-grid { grid-template-columns: 1fr; gap: 24px; }
  .demo-stage { position: static; }
  .rows { grid-template-columns: 1fr; }
  .rows li:nth-child(odd) { border-right: 0; }
  .rows li:nth-last-child(2) { border-bottom: 1.5px solid var(--line); }
  .block { padding-top: 52px; padding-bottom: 52px; }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .bar { padding: 8px 8px 0; }
  .bar-in { gap: 8px; height: 58px; padding: 0 8px 0 10px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .seg a { padding: 8px 10px; }
  .soon-chip { padding: 10px 11px; }
  .eyebrow { font-size: 14px; }
  .lead { font-size: 17px; }
  .soon { height: 54px; padding: 0 22px 0 20px; font-size: 18.5px; }
  /* The widget at its real proportions: pet on the left, everything else on the right. */
  .widget { grid-template-columns: 37% minmax(0, 1fr); gap: 3%; padding: 16px 14px 16px 4px; border-radius: 30px; box-shadow: 0 0 0 3px #fff, 0 7px 0 3px var(--lip), 0 20px 34px -10px rgba(107, 78, 134, 0.35); background: var(--cloud) right 5% top 6px / 58px auto no-repeat, linear-gradient(var(--sky1), var(--sky2) 55%, var(--sky3)); }
  .w-pet::before { border-radius: 50% 50% 0 0 / 34px 34px 0 0; left: -60%; right: -28%; }
  .w-glow::before { left: 21%; width: 70%; }
  .w-name { font-size: 12.5px; }
  .w-word { --o: 2.5px; font-size: 24px; }
  .w-line { font-size: 12.5px; min-height: 0; margin-top: 3px; }
  .w-bars { gap: 4px; margin: 10px 0 11px; }
  .w-bars i { height: 7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85); }
  .w-acts { gap: 3px; }
  .w-acts button { gap: 6px; font-size: 11px; }
  .w-acts button::before { width: 38px; height: 38px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45), 0 3px 0 var(--lip), 0 5px 9px rgba(107, 78, 134, 0.2); }
  .w-acts .hot::before { box-shadow: 0 0 0 2.5px #fff, 0 3px 0 2.5px var(--lip), 0 6px 12px rgba(107, 78, 134, 0.3); }
  .w-acts svg { width: 18px; height: 18px; }
  .w-call { height: 44px; padding: 0 18px; font-size: 16px; margin-top: 12px; }
  .toast { font-size: 15px; }
  .moods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel { padding: 18px 16px; border-radius: 24px; }
  .meters > div { grid-template-columns: 96px 1fr; }
  .step { grid-template-columns: 104px 1fr; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 15px; }
  .rows li { padding: 18px 16px; gap: 14px; }
  .qa summary { padding: 18px 16px; font-size: 17px; }
  .qa p { padding: 0 16px 18px; }
  .strip li { width: 210px; }
  .foot { border-radius: 28px 28px 0 0; }
  .final { padding-top: 120px; }
  .final-pet::before { width: 260vw; border-radius: 50% 50% 0 0 / 110px 110px 0 0; }
  .prose { padding: 2px 18px 22px; border-radius: 24px; }
  .prose > :first-child { margin-top: 22px; }
  .prose h2 { font-size: 24px; }
  .prose figure { gap: 12px; }
  .prose figure img { border-radius: 18px; box-shadow: 0 0 0 3px #fff, 0 5px 0 3px var(--lip), 0 10px 18px rgba(107, 78, 134, 0.16); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .creature .c-blink { opacity: 0; }
}
