/* ============================================================
   Pulse, the public home page (index.php)
   Sits on top of app.css and uses its colours, type and hearts.
   The page is put together from the things a feed is made of:
   stories in a phone, posts with a picture side and a caption
   side, message bubbles, comment rows, a like under everything.
   Anything you can press is a sticker: ink outline, hard shadow.
   ============================================================ */

body.site { --hard: 6px 6px 0 var(--ink); --star: #F5A300; --deep-heart: #D81B45; }
html:has(body.site) { scroll-behavior: smooth; }
.site ul, .site ol { list-style: none; }
.site main { display: block; }
.site img { height: auto; }
.s-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.s-skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; }
.s-skip:focus { top: 12px; }

/* ---------- Sticker buttons ---------- */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; white-space: nowrap; user-select: none;
  font-family: var(--text); font-weight: 800; font-size: 1.17rem; line-height: 1.1; padding: 11px 20px;
  border: 2.5px solid var(--ink); border-radius: 15px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.s-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.s-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.s-btn-heart { background: var(--heart); color: #fff; }
.s-btn-plain { background: var(--card); color: var(--ink); }
.s-btn-big { font-size: 1.35rem; padding: 17px 30px; border-radius: 19px; box-shadow: var(--hard); }
.s-btn-big:hover { box-shadow: 8px 8px 0 var(--ink); }

/* ---------- Top bar ---------- */
.s-top {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: 12px max(20px, calc((100% - 1240px) / 2)); background: rgba(245, 243, 239, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.s-top .brand { align-self: center; padding: 6px 4px; }
.s-top .pulse-logo { height: 38px; }
.s-nav { display: flex; gap: 6px; margin-left: auto; }
.s-nav a { padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 1.08rem; transition: background var(--t); }
.s-nav a:hover { background: var(--tint-2); }
.s-top-btns { display: flex; gap: 12px; margin-left: 10px; }

/* ---------- Hero ---------- */
.s-hero {
  width: min(1240px, 100% - 40px); margin-inline: auto; padding: clamp(26px, 5vh, 64px) 0 clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 84px); align-items: center;
}
.s-hero-copy { container-type: inline-size; min-width: 0; }
.s-h1 { font-size: clamp(3.3rem, 19cqi, 9.4rem); line-height: 0.86; letter-spacing: -0.055em; text-wrap: nowrap; }
.s-h1 > span { display: block; width: fit-content; position: relative; }
.s-h1 .hs { width: 0.26em; height: 0.26em; }
/* The like count for the whole page, worn by the headline the way an app wears a badge. */
.s-notif {
  position: absolute; left: calc(100% + 0.5em); top: -0.1em; width: max-content; display: inline-flex; align-items: center; gap: 0.3em;
  font-family: var(--text); font-size: max(15px, 0.2em); font-weight: 800; letter-spacing: 0; line-height: 1; color: #fff;
  background: var(--heart); padding: 0.5em 0.7em; border-radius: 0.6em; transform: rotate(7deg); transform-origin: 0 100%;
  animation: notif-in 0.5s 0.9s cubic-bezier(.2, 1.5, .4, 1) both;
}
.s-notif::after { content: ''; position: absolute; left: 0.9em; top: 100%; border: 0.42em solid transparent; border-top-color: var(--heart); border-bottom-width: 0; }
.s-notif svg { flex: none; width: 1em; height: 1em; fill: #fff; }
.s-notif b:empty { display: none; }
.s-notif.bump { animation: notif-bump 0.45s ease both; }
@keyframes notif-in { from { transform: rotate(7deg) scale(0); opacity: 0; } }
@keyframes notif-bump { 40% { transform: rotate(-4deg) scale(1.25); } }
.s-lede { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.4; color: var(--ink-2); max-width: 33ch; margin: clamp(22px, 3vw, 34px) 0 clamp(24px, 3vw, 34px); }
.s-cta-row { display: flex; flex-wrap: wrap; gap: 18px; }
.s-taphint { display: flex; align-items: center; gap: 9px; margin-top: 30px; font-weight: 700; font-size: 1.08rem; }
.s-taphint .hrt { animation: hs-beat 2.2s ease-in-out infinite; }

.s-hero-phone { position: relative; padding: 14px 30px 26px 14px; }
.s-sticker {
  position: absolute; z-index: 5; font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1;
  padding: 9px 13px 10px; border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); pointer-events: none;
}
.s-sticker-a { left: -44px; bottom: -6px; background: #FFC43D; transform: rotate(-8deg); }
.s-sticker-b { right: -34px; top: -22px; background: var(--card); transform: rotate(6deg); }

/* ---------- The phone and its stories ---------- */
.s-phone {
  position: relative; width: 340px; height: 604px; border-radius: 40px; overflow: hidden; isolation: isolate;
  background: var(--ink); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(2deg);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.st-bars { position: absolute; top: 12px; left: 14px; right: 14px; z-index: 3; display: flex; gap: 4px; }
.st-bars i { flex: 1; height: 3.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.38); overflow: hidden; }
.st-bars b { display: block; height: 100%; width: 0; background: #fff; }
.st-bars i.done b { width: 100%; }
.st-bars i.run b { width: 100%; animation: st-fill 5.5s linear both; }
.s-phone.paused .st-bars i.run b { animation-play-state: paused; }
@keyframes st-fill { from { width: 0; } }
.st-head { position: absolute; top: 24px; left: 14px; right: 8px; z-index: 3; display: flex; align-items: center; gap: 9px; color: #fff; }
.st-head b { font-weight: 800; font-size: 1rem; }
.st-n { margin-left: auto; font-size: 0.9rem; font-weight: 600; opacity: 0.9; font-variant-numeric: tabular-nums; }
.st-pause { width: 36px; height: 36px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.st-pause span { display: block; width: 13px; height: 15px; border: solid #fff; border-width: 0 4px; }
.st-pause[aria-pressed="true"] span { width: 0; height: 0; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }

.s-av { flex: none; width: 46px; height: 46px; border-radius: 50%; padding: 3px; background: var(--ring); display: inline-grid; }
.s-av > span { border-radius: 50%; background: var(--card); display: grid; place-items: center; border: 2px solid var(--card); }
.st-av { width: 36px; height: 36px; padding: 2px; }
.st-av svg { width: 15px; height: 15px; }

.st { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 76px 16px 74px; color: #fff; }
.st-txt { margin-top: auto; position: relative; z-index: 1; }
.st-txt h3 { color: #fff; font-size: 2.1rem; letter-spacing: -0.035em; line-height: 0.98; }
.st-txt p { font-size: 1.05rem; line-height: 1.35; font-weight: 500; margin-top: 7px; }
.st-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.st-photo::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 17, 15, 0.6) 0, rgba(21, 17, 15, 0) 22%, rgba(21, 17, 15, 0) 46%, rgba(21, 17, 15, 0.86) 100%); }
.st-write { background: var(--soon); }
.st-ok { background: var(--deep-heart); }
.st-boost { background: var(--ink); }
.st-both { background: var(--blue); }

.st-up { position: relative; z-index: 1; align-self: center; width: 80%; margin-top: 34px; background: rgba(255, 255, 255, 0.95); color: var(--ink); border-radius: 16px; padding: 11px 14px 13px; font-weight: 700; font-size: 0.94rem; animation: st-drop 0.45s 0.15s both; }
.st-up-bar { display: block; height: 7px; border-radius: 4px; background: var(--tint-2); margin-top: 9px; overflow: hidden; }
.st-up-bar b { display: block; height: 100%; border-radius: 4px; background: var(--ring); animation: st-fill 2.3s 0.5s ease-out both; }

.st-polaroid { align-self: center; width: 41%; background: #fff; padding: 7px 7px 22px; border-radius: 4px; transform: rotate(-5deg); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6); animation: st-drop 0.5s both; }
.st-polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.st-cap { background: #fff; color: var(--ink); border-radius: 18px; padding: 9px 13px 10px; font-size: 0.92rem; line-height: 1.3; margin-top: 10px; max-width: 88%; animation: st-pop 0.45s both; }
.st-cap b { display: block; font-size: 0.86rem; color: var(--deep-heart); }
.st-cap em { font-style: normal; color: var(--blue); font-weight: 600; }
.st-cap-1 { align-self: flex-start; border-bottom-left-radius: 6px; animation-delay: 0.7s; }
.st-cap-2 { align-self: flex-end; border-bottom-right-radius: 6px; animation-delay: 1.5s; }

.st-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 10px; margin: 4px 6px 0; animation: st-drop 0.5s both; }
.st-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 12px; }
.st-card p { padding: 10px 4px; font-size: 0.98rem; font-weight: 600; line-height: 1.3; }
.st-okbtn { display: grid; border-radius: 12px; background: var(--good); color: #fff; font-weight: 800; padding: 12px; animation: st-okbg 2.3s both; }
.st-okbtn span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.st-okbtn-a { opacity: 0; animation: st-ok-a 2.3s both; }
.st-okbtn-b { animation: st-ok-b 2.3s both; }
@keyframes st-okbg { 0%, 70% { background: var(--blue); transform: none; } 76% { background: var(--blue); transform: scale(0.94); } 84% { transform: scale(1.03); } }
@keyframes st-ok-a { 0%, 78% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes st-ok-b { 0%, 78% { opacity: 0; } 84% { opacity: 1; } }

.st-stamp { position: relative; z-index: 1; align-self: center; margin-top: 74px; font-family: var(--display); font-weight: 800; font-size: 3.3rem; letter-spacing: -0.03em; line-height: 1;
  color: #fff; border: 5px solid #fff; border-radius: 16px; padding: 4px 18px 9px; transform: rotate(-9deg); animation: st-stamp 0.45s 0.5s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes st-stamp { from { transform: rotate(-9deg) scale(2.6); opacity: 0; } }
.st-chips { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 30px; }
.st-chips span { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: 0.95rem; padding: 8px 15px; border-radius: 999px; animation: st-pop 0.4s 1.1s both; }
.st-chips span + span { animation-delay: 1.4s; }

.st-hood { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; padding: 12px 6px 0; }
.st-hood i { aspect-ratio: 1; border-radius: 50%; animation: st-dot 0.5s var(--d, 0s) both; }
.st-hood i:nth-child(5n+1) { background: #FFC43D; } .st-hood i:nth-child(5n+2) { background: #FF7A1A; } .st-hood i:nth-child(5n+3) { background: #FF2E55; }
.st-hood i:nth-child(5n+4) { background: #E01FA2; } .st-hood i:nth-child(5n) { background: #7A3CFF; }
.st-hood i:nth-child(4n+2), .st-hood i:nth-child(9n) { background: rgba(255, 255, 255, 0.14); animation: none; }
@keyframes st-dot { from { background: rgba(255, 255, 255, 0.14); transform: scale(0.6); } }
.st-hood-pin, .d-hood-pin { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -27px 0 0 -33px; border-radius: 50%; padding: 3px; background: var(--ring); box-shadow: 0 0 0 6px var(--ink); }
.st-hood-pin img, .d-hood-pin img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.st-hood-pin::before, .d-hood.on .d-hood-pin::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--heart); animation: pin-ring 1.8s ease-out infinite; }
@keyframes pin-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.3); opacity: 0; } }

.st-rv { width: 88%; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 14px; animation: st-drop 0.5s both; }
.st-stars, .d-stars { color: var(--star); letter-spacing: 2px; font-size: 1.1rem; line-height: 1; }
.st-rv p { font-weight: 700; margin-top: 4px; }
.st-rv-reply { display: block; margin-top: 8px; background: var(--blue-soft); border-radius: 12px; padding: 8px 11px; font-size: 0.92rem; animation: st-pop 0.4s 1.1s both; }
.st-poster { position: relative; align-self: flex-end; width: 39%; margin-top: 12px; border-radius: 6px; overflow: hidden; transform: rotate(4deg); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6); animation: st-pop 0.45s 1.7s both; }
.st-poster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.st-poster span { position: absolute; left: 8px; right: 8px; bottom: 8px; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 0.95; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
@keyframes st-drop { from { opacity: 0; transform: translateY(-18px) rotate(0); } }
@keyframes st-pop { from { opacity: 0; transform: translateY(14px) scale(0.88); } }

.st-zone { position: absolute; top: 70px; bottom: 70px; z-index: 2; border: 0; background: none; cursor: pointer; border-radius: 0; touch-action: manipulation; -webkit-touch-callout: none; }
.st-prev { left: 0; width: 32%; } .st-next { right: 0; width: 68%; }
.st-zone:focus-visible { outline-offset: -6px; outline-color: #fff; }
.st-foot { position: absolute; left: 14px; right: 10px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.st-reply { flex: 1; border: 1.5px solid rgba(255, 255, 255, 0.75); border-radius: 999px; padding: 11px 18px; color: #fff; font-size: 0.98rem; font-weight: 500; }
.st-reply:hover { background: rgba(255, 255, 255, 0.14); }
.st-like { color: #fff; }

/* ---------- Likes ---------- */
.s-like, .s-act { width: 48px; height: 48px; flex: none; display: inline-grid; place-items: center; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--ink); transition: transform var(--t); }
.s-like:hover, .s-act:hover { transform: scale(1.12); }
.s-like:active, .s-act:active { transform: scale(0.9); }
.st-like.s-like { color: #fff; }
.s-like[aria-pressed="true"] svg { fill: var(--heart); stroke: var(--heart); animation: like-pop 0.4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes like-pop { from { transform: scale(0.4); } }
.s-likes { margin-left: auto; font-weight: 700; font-size: 1.02rem; text-align: right; }
/* The big heart a double tap leaves behind. */
.s-bigheart { position: fixed; z-index: 190; left: 0; top: 0; width: 118px; height: 118px; margin: -59px 0 0 -59px; pointer-events: none; filter: drop-shadow(0 6px 14px rgba(21, 17, 15, 0.3)); animation: bigheart 0.95s cubic-bezier(.2, .8, .3, 1) both; }
.s-bigheart path { fill: var(--heart); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
@keyframes bigheart {
  0% { transform: scale(0) rotate(-14deg); opacity: 0; }
  22% { transform: scale(1.25) rotate(-8deg); opacity: 1; }
  38% { transform: scale(0.95) rotate(-8deg); }
  52%, 70% { transform: scale(1.05) rotate(-8deg); opacity: 1; }
  100% { transform: translateY(-110px) scale(1.05) rotate(-8deg); opacity: 0; }
}
[data-dbl] { touch-action: manipulation; }

/* ---------- Section headings ---------- */
.s-h2 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); letter-spacing: -0.045em; line-height: 0.94; max-width: 15ch; }
.s-h2-xl { font-size: clamp(3.2rem, 8vw, 6.6rem); max-width: 9ch; }
.s-sub { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 46ch; margin-top: 22px; }
.s-band { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- Why: a thread of complaints, and the numbers behind them ---------- */
.s-why { background: var(--card); border-radius: clamp(32px, 6vw, 72px) clamp(32px, 6vw, 72px) 0 0; }
.s-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.s-chat { display: flex; flex-direction: column; gap: 10px; }
.s-bub { position: relative; max-width: 86%; padding: 14px 21px 15px; border-radius: 27px; font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.3; font-weight: 500; }
.s-bub-in { align-self: flex-start; background: var(--tint); border-bottom-left-radius: 8px; }
.s-bub-out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 8px; margin-top: 12px; font-weight: 600; }
.s-bub-out a { text-decoration: underline; text-underline-offset: 3px; }
.s-bub-react { position: absolute; left: -8px; bottom: -11px; width: 30px; height: 30px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(21, 17, 15, 0.22); }
.js [data-reveal] .s-bub { opacity: 0; transform: translateY(16px) scale(0.96); }
.js [data-reveal].in .s-bub { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--n) * 0.45s); }

.s-cmts { display: flex; flex-direction: column; gap: 30px; }
.s-cmt { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; }
.s-fig { justify-self: start; font-family: var(--display); font-weight: 800; font-size: 2.1rem; letter-spacing: -0.04em; line-height: 1; padding: 11px 14px 13px; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); white-space: nowrap; }
.s-fig-a { background: #FFC43D; transform: rotate(-4deg); }
.s-fig-b { background: var(--heart-soft); transform: rotate(3deg); }
.s-fig-c { background: var(--soon-soft); transform: rotate(-2deg); }
.s-cmt p { font-size: clamp(1.12rem, 1.5vw, 1.28rem); font-weight: 600; line-height: 1.35; }
.s-cmt small, .s-src { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- The feed ---------- */
.s-feed { padding: clamp(64px, 9vw, 120px) 0 clamp(30px, 5vw, 60px); background: var(--card); }
.s-profile { margin-bottom: clamp(30px, 5vw, 56px); }
.s-hl { display: flex; gap: clamp(14px, 2.6vw, 34px); margin-top: clamp(26px, 4vw, 44px); overflow-x: auto; padding: 6px 4px 10px; scrollbar-width: none; }
.s-hl::-webkit-scrollbar { display: none; }
.s-hl a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 9px; font-weight: 700; font-size: 1.02rem; }
.s-hl-ring { width: clamp(76px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; padding: 4px; background: var(--ring); transition: transform 0.2s cubic-bezier(.3, 1.5, .5, 1); }
.s-hl-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--card); }
.s-hl a:hover .s-hl-ring { transform: scale(1.08) rotate(-4deg); }

.s-post { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: var(--card); border: 2.5px solid var(--ink); border-radius: 30px; overflow: hidden; margin-bottom: clamp(28px, 4.5vw, 56px); scroll-margin-top: 90px; }
.s-post-flip .s-media { order: 2; }
.s-media { position: relative; display: grid; place-items: center; padding: clamp(46px, 5vw, 60px) clamp(18px, 3.4vw, 44px) clamp(30px, 4vw, 48px); min-height: 560px; user-select: none; -webkit-user-select: none; }
#posting .s-media { background: var(--heart-soft); }
#boosts .s-media { background: var(--soon-soft); }
#studio .s-media { background: var(--warn-soft); }
#reviews .s-media { background: var(--blue-soft); }
.s-try { position: absolute; z-index: 2; left: -14px; top: -20px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1; padding: 8px 13px 10px; border-radius: 11px; transform: rotate(-7deg); pointer-events: none; }
.s-side { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3.4vw, 40px); min-width: 0; }
.s-post-head { display: flex; align-items: center; gap: 12px; }
.s-post-head b, .s-dm-head b { display: block; font-weight: 800; font-size: 1.08rem; line-height: 1.2; }
.s-post-head i, .s-dm-head i { display: block; font-style: normal; color: var(--muted); font-size: 0.98rem; line-height: 1.25; overflow-wrap: anywhere; }
.s-post-h { font-size: clamp(2.1rem, 3.7vw, 3.2rem); letter-spacing: -0.04em; line-height: 0.96; margin-top: 4px; }
.s-cap { font-size: 1.13rem; line-height: 1.5; color: var(--ink-2); }
.s-pts { display: flex; flex-direction: column; gap: 9px; }
.s-pts li { position: relative; padding-left: 30px; font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.s-pts li::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 19px; height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF2E55' d='M12 21.2C5.4 16.3 2 12.9 2 8.9 2 5.8 4.4 3.4 7.4 3.4c1.9 0 3.6.9 4.6 2.5 1-1.6 2.7-2.5 4.6-2.5 3 0 5.4 2.4 5.4 5.5 0 4-3.4 7.4-10 12.3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.s-tags { color: var(--blue); font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.s-aside { color: var(--muted); font-size: 1rem; }
.s-aside a, .s-client a, .s-mail { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.s-acts { display: flex; align-items: center; gap: 2px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); margin-left: -10px; }

/* ---------- Things to try inside the posts ---------- */
.d-post, .d-boost { position: relative; width: min(390px, 100%); background: var(--card); border: 2.5px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); }
.d-photo { position: relative; border-radius: 21px 21px 0 0; overflow: hidden; }
.d-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.d-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(21, 17, 15, 0.78); color: #fff; font-size: 0.9rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.d-pick, .d-done { padding: 14px; }
.d-opts { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.d-opt { position: relative; display: block; cursor: pointer; }
.d-opt input { position: absolute; opacity: 0; inset: 0; }
.d-opt span { display: block; border: 2px solid var(--line-2); border-radius: 15px; padding: 10px 13px 11px; font-size: 1rem; line-height: 1.35; transition: border-color var(--t), background var(--t); }
.d-opt span b { display: block; font-size: 0.92rem; color: var(--muted); }
.d-opt input:checked + span { border-color: var(--ink); background: var(--wall); box-shadow: inset 0 0 0 1px var(--ink); }
.d-opt input:checked + span b { color: var(--deep-heart); }
.d-opt input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.d-done { text-align: center; padding-bottom: 18px; }
.d-stamp { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; color: var(--good); border: 4px solid var(--good); border-radius: 14px; padding: 3px 16px 8px; margin: 6px 0 14px; transform: rotate(-6deg); animation: st-stamp-d 0.45s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes st-stamp-d { from { transform: rotate(-6deg) scale(2.4); opacity: 0; } }
.d-done-line { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.d-done-cap { margin: 10px 0 12px; color: var(--ink-2); font-size: 1rem; line-height: 1.4; }

.d-hood { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 7px; padding: 20px 18px 16px; }
.d-hood i { aspect-ratio: 1; border-radius: 50%; background: var(--tint-2); transition: background 0.35s ease, transform 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.d-hood i:nth-child(17n+4), .d-hood i:nth-child(23n+11) { background: var(--heart); }
.d-hood.on i:nth-child(3n+1) { background: #FF2E55; transform: scale(1.12); }
.d-hood.on i:nth-child(5n+2) { background: #FF7A1A; transform: scale(1.12); transition-delay: 0.12s; }
.d-hood.on i:nth-child(7n+3) { background: #E01FA2; transform: scale(1.12); transition-delay: 0.24s; }
.d-hood.on i:nth-child(11n+5) { background: #7A3CFF; transform: scale(1.12); transition-delay: 0.36s; }
.d-hood.on i:nth-child(13n+8) { background: #FFC43D; transform: scale(1.12); transition-delay: 0.48s; }
.d-hood-pin { box-shadow: 0 0 0 6px var(--card); margin-top: -31px; }
.d-hood-pin img { border-color: var(--card); }
.d-nolabel { margin: 2px 18px 0; display: inline-block; background: var(--wall); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 0.98rem; }
.d-nolabel s { color: var(--muted); text-decoration-color: var(--heart); text-decoration-thickness: 2.5px; }
.d-boost-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px 18px; }
.d-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; flex: none; position: relative; }
.d-switch input { position: absolute; opacity: 0; inset: 0; }
.d-switch-track { width: 68px; height: 40px; border-radius: 999px; background: var(--tint-2); border: 2.5px solid var(--ink); position: relative; transition: background 0.2s ease; }
.d-switch-track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 29px; height: 29px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--ink); transition: transform 0.22s cubic-bezier(.3, 1.5, .5, 1); }
.d-switch input:checked + .d-switch-track { background: var(--heart); }
.d-switch input:checked + .d-switch-track::after { transform: translateX(28px); }
.d-switch input:focus-visible + .d-switch-track { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.d-switch b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.d-boost-say { font-size: 0.98rem; line-height: 1.3; color: var(--ink-2); font-weight: 600; }

.d-studio { position: relative; width: min(350px, 100%); }
.d-poster { --ember: #E4572E; --cream: #FFF4E4; --espresso: #2A1A12; position: relative; aspect-ratio: 4 / 5; overflow: hidden; container-type: inline-size; background: var(--espresso); color: #fff; border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: 8px 8px 0 var(--ink); }
.d-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: all 0.35s ease; }
.d-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 26, 18, 0.5) 0, rgba(42, 26, 18, 0) 26%, rgba(42, 26, 18, 0) 44%, rgba(42, 26, 18, 0.9) 100%); transition: opacity 0.3s ease; }
.d-poster-brand, .d-poster-foot, .d-poster-words { position: absolute; z-index: 1; left: 7cqi; right: 7cqi; }
.d-poster-brand { top: 6cqi; font-family: var(--display); font-weight: 800; font-size: 6.4cqi; letter-spacing: -0.02em; line-height: 1; }
.d-poster-foot { bottom: 5cqi; font-weight: 700; font-size: 4.3cqi; opacity: 0.92; }
.d-poster-words { bottom: 13cqi; font-family: var(--display); font-weight: 800; font-size: 14.5cqi; line-height: 0.9; letter-spacing: -0.045em; overflow-wrap: anywhere; text-wrap: balance; }
[data-design="text"] .d-poster { background: var(--ember); color: var(--cream); }
[data-design="text"] .d-poster img, [data-design="text"] .d-poster::after { opacity: 0; }
[data-design="text"] .d-poster-words { bottom: auto; top: 24cqi; font-size: 19cqi; }
[data-design="wrap"] .d-poster { background: var(--cream); color: var(--espresso); }
[data-design="wrap"] .d-poster img { inset: 19cqi 14cqi auto; width: 72cqi; height: 62cqi; border-radius: 40cqi 40cqi 3cqi 3cqi; }
[data-design="wrap"] .d-poster::after { opacity: 0; }
[data-design="wrap"] .d-poster-brand { text-align: center; color: var(--ember); }
[data-design="wrap"] .d-poster-words { bottom: 12cqi; font-size: 10.5cqi; text-align: center; }
[data-design="wrap"] .d-poster-foot { text-align: center; }
.d-studio-ctl { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.d-designs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; }
.d-designs button { border: 0; background: none; padding: 11px 6px; font-weight: 800; font-size: 1.02rem; cursor: pointer; }
.d-designs button + button { border-left: 2.5px solid var(--ink); }
.d-designs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.d-designs button:focus-visible { outline-offset: -5px; }
.d-studio .d-words-in, .d-reply textarea { width: 100%; background: var(--card); border: 2.5px solid var(--ink); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.d-studio .d-words-in:focus, .d-reply textarea:focus { outline: 2.5px solid var(--blue); outline-offset: 2px; border-color: var(--ink); box-shadow: none; }

.d-rev { position: relative; width: min(410px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.d-rv { background: var(--card); border: 1.5px solid var(--line-2); border-radius: 20px; padding: 15px 17px; }
.d-rv-low { border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.d-rv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
.d-rv-av { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--tint-2); display: grid; place-items: center; font-weight: 800; }
.d-rv-top b, .d-stars { white-space: nowrap; }
.d-rv-top .pill { margin-left: auto; }
.d-stars i { font-style: normal; color: var(--line-2); }
.d-rv > p { font-size: 1.05rem; line-height: 1.4; }
.d-reply { margin-top: 12px; }
.d-reply-label { display: block; font-weight: 800; margin-bottom: 6px; }
.d-reply textarea { display: block; width: 100%; min-height: 0; resize: none; field-sizing: content; font-weight: 500; font-size: 0.98rem; border-width: 2px; }
.d-reply-acts { display: flex; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.d-rv > p.d-rv-done { margin-top: 12px; background: var(--good-soft); color: #06603A; border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 1rem; }
.d-rv-done .linkish { display: block; margin-top: 6px; color: inherit; font-weight: 600; }
.d-rev-note { text-align: center; color: var(--ink-2); font-size: 0.92rem; }

/* ---------- The review numbers ---------- */
.s-proof { background: var(--heart-soft); }
.s-proof .s-h2 { max-width: 14ch; }
.s-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin: clamp(34px, 5vw, 60px) 0 26px; }
.s-nums b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(4.6rem, 11.5vw, 9.4rem); letter-spacing: -0.06em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.s-nums li:nth-child(2) b { color: var(--deep-heart); }
.s-nums li > span { display: block; font-size: clamp(1.08rem, 1.5vw, 1.25rem); font-weight: 600; line-height: 1.35; max-width: 24ch; margin-top: 14px; }
.s-proof .s-src { color: var(--ink-2); }

/* ---------- How it works ---------- */
.s-how { padding: clamp(64px, 9vw, 120px) 0; }
.s-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
.s-steps li { background: var(--card); border: 2.5px solid var(--ink); border-radius: 24px; box-shadow: var(--hard); padding: 24px 22px 28px; transition: transform 0.2s cubic-bezier(.3, 1.4, .5, 1); }
.s-steps li:nth-child(1) { transform: rotate(-1.6deg); } .s-steps li:nth-child(2) { transform: rotate(1.1deg) translateY(14px); }
.s-steps li:nth-child(3) { transform: rotate(-0.8deg); } .s-steps li:nth-child(4) { transform: rotate(1.7deg) translateY(14px); }
.s-steps li:hover { transform: rotate(0) translateY(-6px); }
.s-step-n { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ring); color: #fff; font-family: var(--display); font-weight: 800; font-size: 2.3rem; line-height: 1; margin-bottom: 20px; text-shadow: 0 1px 0 rgba(21, 17, 15, 0.25); }
.s-steps h3 { font-size: clamp(1.6rem, 2.3vw, 2rem); letter-spacing: -0.035em; }
.s-steps p { font-size: 1.08rem; line-height: 1.45; color: var(--ink-2); margin-top: 10px; }

/* ---------- And more ---------- */
.s-more { background: var(--card); }
.s-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.s-tile-pic { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; margin-bottom: 22px; }
.s-tile h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); letter-spacing: -0.04em; }
.s-tile p { font-size: 1.1rem; line-height: 1.5; color: var(--ink-2); margin-top: 10px; }
.s-tile-stats { background: var(--wall); }
.t-num { position: absolute; left: 22px; top: 18px; font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; }
.t-line { position: absolute; left: 0; right: 0; bottom: 18%; width: 100%; height: 52%; overflow: visible; }
.t-say { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: var(--card); border-radius: 16px 16px 4px 16px; padding: 8px 12px; font-weight: 600; font-size: 0.95rem; box-shadow: 0 6px 16px -8px rgba(21, 17, 15, 0.4); transform: rotate(-2deg); }
.s-tile-locs { background: var(--warn-soft); display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 16px); padding: 0 10px; }
.t-ring { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 0 1 74px; min-width: 0; }
.t-ring > span { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; padding: 3px; background: var(--ring); }
.t-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2.5px solid var(--warn-soft); }
.t-ring-all > span { background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; padding: 9px; }
.t-ring-all img { border: 0; }
.t-ring-all img:first-child { grid-row: span 2; align-self: center; aspect-ratio: 1; height: auto; }
.t-ring em { font-style: normal; font-weight: 700; font-size: 0.9rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-ring > i { position: absolute; right: -4px; top: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--heart); color: #fff; font-style: normal; font-weight: 800; font-size: 0.86rem; display: grid; place-items: center; border: 2.5px solid var(--warn-soft); }
.s-tile-setup { background: var(--blue-soft); display: grid; grid-template-columns: 1fr auto; align-content: center; align-items: center; gap: 9px 16px; padding: 0 22px; }
.t-chip { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: 9px; background: var(--card); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 1rem; }
.t-chip .ic:last-child { color: var(--good); stroke-width: 3; }
.t-app { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: rotate(6deg); }
.t-app img { width: 76px; height: 76px; border-radius: 19px; box-shadow: 0 10px 20px -10px rgba(21, 17, 15, 0.5); }
.t-app em { font-style: normal; font-weight: 600; font-size: 0.92rem; }
.s-running { margin-top: clamp(44px, 6vw, 76px); font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.08; max-width: 26ch; text-wrap: balance; }

/* ---------- Say hello ---------- */
.s-hello { background: var(--heart); padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: 60px; }
.s-hello-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(34px, 6vw, 80px); align-items: center; }
.s-hello .hs { fill: #fff; }
.s-hello .s-sub { color: var(--ink); font-weight: 500; }
.s-client { margin-top: 18px; font-size: 1.1rem; font-weight: 500; }
.s-dm { background: var(--card); border: 2.5px solid var(--ink); border-radius: 30px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.s-dm-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.s-dm-thread { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 170px; padding: 20px 18px 8px; }
.s-dm .s-bub { font-size: 1.08rem; padding: 12px 18px 13px; border-radius: 24px; overflow-wrap: anywhere; }
.s-dm .s-bub-in { border-bottom-left-radius: 7px; } .s-dm .s-bub-out { border-bottom-right-radius: 7px; margin-top: 0; white-space: pre-wrap; }
.s-dm .s-bub.new { animation: st-pop 0.35s cubic-bezier(.3, 1.4, .5, 1) both; }
.s-dm-form { display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px 6px; }
.s-dm-form textarea { flex: 1; min-width: 0; min-height: 0; resize: none; border: 0; background: var(--tint); border-radius: 24px; padding: 13px 18px; font-size: 1.05rem; line-height: 1.35; max-height: 150px; }
.s-dm-form textarea::placeholder { color: var(--muted); opacity: 1; }
.s-dm-form textarea:focus { outline: 2.5px solid var(--blue); outline-offset: 1px; box-shadow: none; }
.s-dm-send { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform var(--t), background var(--t); }
.s-dm-send:hover { background: var(--blue-hi); transform: scale(1.08) rotate(-8deg); }
.s-dm-note { padding: 4px 20px 16px; color: var(--muted); font-size: 0.92rem; }
.s-copy-wrap { white-space: nowrap; }
.s-copy { display: inline; background: none; border: 0; padding: 0; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Footer ---------- */
.s-foot { padding: clamp(48px, 7vw, 84px) 0 calc(36px + env(safe-area-inset-bottom)); }
.s-foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px clamp(30px, 6vw, 90px); align-items: end; }
.s-foot-brand .pulse-logo { height: auto; width: min(440px, 82vw); }
.s-foot-brand p { margin-top: 16px; font-size: 1.15rem; font-weight: 600; }
.s-foot-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-weight: 700; font-size: 1.15rem; }
.s-foot-nav a { padding: 4px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--t); overflow-wrap: anywhere; }
.s-foot-nav a:hover { text-decoration-color: var(--heart); }
.s-foot-fine { grid-column: 1 / -1; color: var(--muted); font-size: 0.92rem; border-top: 1px solid var(--line-2); padding-top: 20px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1340px) {
  .s-sticker-b { right: -6px; }
}
@media (max-width: 1020px) {
  .s-nav { display: none; }
  .s-top-btns { margin-left: auto; }
  .s-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .s-tiles { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (min-width: 700px) and (max-width: 1020px) {
  .s-tiles { max-width: none; }
  .s-tile { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); column-gap: 30px; }
  .s-tile-pic { grid-row: 1 / span 2; margin-bottom: 0; }
  .s-tile h3 { align-self: end; }
  .s-tile p { align-self: start; }
}
@media (max-width: 900px) {
  .s-hero { grid-template-columns: minmax(0, 1fr); }
  .s-hero-phone { justify-self: center; margin-top: 34px; }
  .s-why-grid, .s-hello-grid { grid-template-columns: minmax(0, 1fr); }
  .s-post { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
  .s-post-flip .s-media { order: 0; }
  .s-media { min-height: 0; }
  .s-nums { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .s-nums li > span { max-width: 30ch; }
  .s-foot-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 560px) {
  .s-wrap, .s-hero { width: calc(100% - 32px); }
  .s-top { padding: 10px 16px; gap: 10px; }
  .s-top .pulse-logo { height: 32px; }
  .s-top-btns { gap: 10px; }
  .s-top .s-btn { font-size: 1.05rem; padding: 9px 14px; border-radius: 13px; box-shadow: 3px 3px 0 var(--ink); }
  .s-top .s-btn-heart { font-size: 1.17rem; padding: 8px 14px; }
  .s-btn-big { font-size: 1.25rem; padding: 15px 24px; }
  .s-cta-row { gap: 14px; }
  .s-sticker-a { left: -8px; } .s-sticker-b { right: -4px; }
  .s-cmt { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .s-steps { grid-template-columns: minmax(0, 1fr); }
  .s-steps li:nth-child(n) { transform: rotate(-1deg); } .s-steps li:nth-child(2n) { transform: rotate(1deg); }
  .s-try { left: -8px; }
  .s-likes { font-size: 0.98rem; }
  .d-boost-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 400px) {
  .s-phone { zoom: 0.86; }
  .d-rv { padding: 14px 13px; }
  .d-rv-top { column-gap: 7px; }
  .d-rv-av { width: 30px; height: 30px; }
  .d-stars { font-size: 0.9rem; }
  .s-top-hello { display: none; }
}
@media (max-width: 345px) {
  .s-phone { zoom: 0.76; }
  .s-hero-phone { padding-right: 18px; }
  .s-sticker-a { left: -4px; } .s-sticker-b { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.site) { scroll-behavior: auto; }
  .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] .s-bub { opacity: 1; transform: none; }
}
