/* Rotty: guard-dog theme. Cream, black and tan, chunky type. */
@font-face { font-family: Geist; src: url(/assets/fonts/Geist-Variable.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/assets/fonts/GeistMono-Variable.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --cream: #fbf1e2; --cream-2: #f4e4cc; --paper: #fffaf2;
  --ink: #17130f; --ink-2: #5a4d40; --ink-3: #74644f;
  --tan: #c9742c; --tan-2: #e0954a; --tan-text: #9a5418;
  --tile: linear-gradient(135deg, #ffa53d, #ff5b2e);
  --line: rgba(23, 19, 15, 0.12);
  --ok: #2f6b34; --ok-bg: #e7f1e3;
  --sans: Geist, -apple-system, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--cream); padding: 8px 12px; border-radius: 8px; z-index: 50; }
:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; border-radius: 6px; }
/* In-page links land below the sticky nav, not under it. */
section[id], #join { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* nav */
nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); }
nav.scrolled { box-shadow: 0 1px 0 var(--line); }
nav .wrap { display: flex; align-items: center; height: var(--nav-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 850; font-size: 26px; letter-spacing: -0.05em; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.by { font-size: 13px; color: var(--ink-2); font-weight: 500; letter-spacing: 0; border-left: 1px solid var(--line); padding-left: 10px; margin-left: 4px; white-space: nowrap; }
.navlinks { margin-left: auto; display: flex; gap: 4px; font-size: 15px; font-weight: 600; }
.navlinks a { position: relative; text-decoration: none; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); transition: color .15s, background .15s; }
.navlinks a:hover { color: var(--ink); background: var(--cream-2); }
.navlinks a[aria-current] { color: var(--ink); }
.navlinks a[aria-current]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--tan); }
.menu-btn { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font: 700 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 #000; transition: transform .08s, box-shadow .08s; }
.btn-dark:hover { background: #2a231c; }
.btn-dark:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
.btn-line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--paper); }
.btn-sm { padding: 10px 15px; font-size: 14.5px; border-radius: 11px; }

/* hero */
.hero { padding: 36px 0 92px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 40px; }
.tag { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 8px; transform: rotate(-2deg); }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--tan-2); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
h1 { font-size: clamp(48px, 7.2vw, 102px); line-height: .92; letter-spacing: -0.06em; font-weight: 900; margin: 22px 0; }
h1 .tan { color: var(--tan); }
.lede { font-size: 20px; color: var(--ink-2); max-width: 28em; margin: 0 0 30px; }
.small-print { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.small-print a { font-weight: 700; color: var(--ink); }

.mascot { position: relative; justify-self: center; width: min(460px, 80vw); aspect-ratio: 1; }
.mascot .disc { position: absolute; inset: 6%; border-radius: 50%; background: var(--tile); box-shadow: 0 40px 80px -30px rgba(160, 70, 10, .55); }
.mascot .head { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-3deg); transition: transform .4s cubic-bezier(.3,1.6,.6,1); }
.mascot:hover .head { transform: rotate(4deg) scale(1.03); }
.mascot .pupil { transition: transform .18s ease-out; }
.mascot .eye { transform-box: fill-box; transform-origin: center; animation: blink 5.5s infinite; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.08); } }
@media (prefers-reduced-motion: reduce) { .mascot .eye { animation: none; } .mascot .pupil { transition: none; } }
/* Hero: Rotty catches slop (struck through, folded into a "Hidden" line) and keeps the good reply. */
.catch { position: absolute; z-index: 2; left: -14%; top: 7%; width: 310px; transform: rotate(-4deg); }
.mini { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(60, 30, 5, .16); font-weight: 600; font-size: 15px; line-height: 1.38; }
.mini { color: var(--ink); transition: opacity .35s ease, transform .35s ease; }
.mini-av { width: 22px; height: 22px; border-radius: 50%; background: var(--cream-2); flex: none; margin-top: 1px; }
.mini-txt { background: linear-gradient(#d4422f, #d4422f) no-repeat 0 55% / 0% 2.5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .5s ease, color .4s ease; }
.catch.is-struck .mini-txt { background-size: 100% 2.5px; color: var(--ink-3); }
.hid-chip { position: absolute; left: 10px; top: 8px; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 999px; white-space: nowrap; opacity: 0; transform: translateY(-4px) scale(.94); transition: opacity .3s ease .1s, transform .3s ease .1s; }
.hid-chip .paw { width: 16px; height: 16px; }
.hid-chip b { color: var(--tan-2); font-weight: 700; }
.catch.is-caught .mini { opacity: 0; transform: scale(.94); }
.catch.is-caught .hid-chip { opacity: 1; transform: none; }
.catch.is-out .mini { opacity: 0; transform: translateX(-14px); }
.catch.is-out .mini-txt { transition: none; } /* cleared instantly while hidden: the stroke only ever draws forward */

/* platform logos */
.tag-logos { display: inline-flex; gap: 6px; align-items: center; margin-left: 2px; }
.tag-more { color: var(--tan-2); font-weight: 600; }
.tag-logos img { width: 18px; height: 18px; background: #fff; border-radius: 5px; padding: 2px; }
.band-logos { display: inline-flex; gap: 14px; align-items: center; vertical-align: middle; }
.band-logos img { width: 30px; height: 30px; background: var(--cream); border-radius: 8px; padding: 4px; }

/* desktop vs phone wording: Rotty installs only in desktop Chrome */
.m-only { display: none; }
@media (max-width: 900px) { .m-only { display: inline; } .d-only { display: none; } }

/* waitlist form */
.join { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.join input[type=email] { flex: 1 1 240px; min-width: 0; padding: 14px 16px; font: 500 16px var(--sans); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; outline: none; }
.join input[type=email]:focus { box-shadow: 0 0 0 4px rgba(201, 116, 44, .3); }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-msg { min-height: 22px; margin-top: 10px; font-size: 14.5px; font-weight: 600; }
.join-msg.ok { color: var(--ok); }
.join-msg.err { color: #b42318; }
.join.done input, .join.done button { display: none; }
.alt-cta { margin-top: 14px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 15px; }
.alt-cta a { font-weight: 600; }

/* marquee */
.band { display: flex; overflow: hidden; background: var(--ink); color: var(--cream); padding: 22px 0; white-space: nowrap; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.band-group { flex: 0 0 auto; min-width: 100%; display: flex; align-items: center; justify-content: space-around; gap: 48px; padding-right: 48px; animation: slide 34s linear infinite; }
.band i { font-style: normal; color: var(--tan-2); }
@keyframes slide { to { transform: translateX(-100%); } }

/* sections */
section { padding: 104px 0; }
.kicker { display: inline-block; font: 600 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tan-text); margin-bottom: 14px; }
h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.05em; font-weight: 880; margin: 0 0 18px; }
.sub { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0; }

/* See it work: one slider, three sites */
.compare-head { max-width: 760px; }
.tabs { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.tab { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px; border: 0; cursor: pointer; font: 700 15px var(--sans); color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--line); transition: background .15s, box-shadow .15s; }
.tab img { width: 20px; height: 20px; }
.tab:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.tab[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 4px 0 var(--ink); }

.slider-wrap { position: relative; margin-top: 30px; }
.corner { position: absolute; top: -15px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; box-shadow: 0 0 0 2px var(--ink); pointer-events: none; background: var(--paper); color: var(--ink-2); }
.corner.left { left: 28px; }
.corner.right { right: 28px; }
.corner.on { background: var(--ink); color: var(--cream); }
.corner img { width: 15px; height: 15px; border-radius: 4px; }
.slider { position: relative; cursor: ew-resize; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 10px 0 var(--ink); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.pane { background: #fff; padding: 28px 0 6px; }
/* Without Rotty is the base (left); with Rotty overlays the right side, from the line on. */
.pane.after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--cut)); will-change: clip-path; }
.pane img { -webkit-user-drag: none; }

/* rows shared by all three sites */
.r-row { position: relative; display: grid; gap: 10px; }
.before .r-row.is-slop { background: #fdeae4; }
.r-ghost { visibility: hidden; display: contents; }
.r-row.is-hidden { background: var(--paper); }
.hid-line { position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 0 28px 0 calc(var(--cut) + 18px); overflow: hidden; }
.hid-line .rule { flex: 1; height: 1px; background: var(--line); }
.hid-line .lbl { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.hid-line .paw { width: 17px; height: 17px; }
.hid-line u { text-decoration: none; color: var(--ink); font-weight: 700; }

/* Reddit */
.rd { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1a1a1b; }
.rd-post { padding: 0 28px 14px; border-bottom: 1px solid #edeff1; }
.rd-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #576f76; }
.rd-meta b { color: #1a1a1b; font-weight: 600; }
.rd-sub-ic { width: 22px; height: 22px; border-radius: 50%; background: #ff4500; color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: 10px; }
.rd-title { font-size: 19px; font-weight: 600; margin: 8px 0 6px; letter-spacing: -0.01em; }
.rd-body { font-size: 14.5px; line-height: 1.5; color: #2a3c42; }
.rd-acts { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: #576f76; }
.rd-acts svg { width: 16px; height: 16px; }
.rd-acts .pill { display: inline-flex; align-items: center; gap: 6px; background: #eaedef; border-radius: 999px; padding: 5px 10px; }
.rd-acts.sm { margin-top: 6px; gap: 10px; }
.rd-acts.sm span { display: inline-flex; align-items: center; gap: 4px; }
.rd .r-row { grid-template-columns: 28px 1fr; padding: 12px 28px; border-bottom: 1px solid #edeff1; }
.rd-av { width: 28px; height: 28px; border-radius: 50%; }
.rd-text { font-size: 14px; line-height: 1.5; margin-top: 4px; }

/* X */
.xx { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #0f1419; }
.x-post, .xx .r-row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 28px; border-bottom: 1px solid #eff3f4; }
.x-post { padding-top: 0; }
.x-av { width: 40px; height: 40px; border-radius: 50%; }
.x-meta { display: flex; gap: 5px; font-size: 15px; align-items: baseline; }
.x-meta b { font-weight: 700; }
.x-meta span { color: #536471; }
.x-reply { font-size: 14px; color: #536471; margin-top: 1px; }
.x-reply i { font-style: normal; color: #1d9bf0; }
.x-text { font-size: 15px; line-height: 1.45; margin-top: 3px; }
.x-text.big { font-size: 17px; margin-top: 4px; }
.x-acts { display: flex; justify-content: space-between; max-width: 420px; margin-top: 10px; color: #536471; font-size: 13px; }
.x-acts span { display: inline-flex; align-items: center; gap: 6px; min-width: 52px; }
.x-acts svg { width: 17px; height: 17px; }
.x-acts.big { padding-top: 10px; }

/* LinkedIn */
.li { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: rgba(0,0,0,.9); }
.li-post { padding: 0 28px 4px; }
.li-head { display: flex; gap: 10px; align-items: center; }
.li-head div { display: flex; flex-direction: column; font-size: 12px; color: rgba(0,0,0,.6); line-height: 1.35; }
.li-head b { color: rgba(0,0,0,.9); font-size: 14px; font-weight: 600; }
.li-av { width: 48px; height: 48px; border-radius: 50%; }
.li .r-row .li-av { width: 36px; height: 36px; }
.li-av.co { display: grid; place-items: center; border-radius: 6px; background: #0a66c2; color: #fff; font-weight: 700; font-size: 13px; }
.li-text { font-size: 14.5px; line-height: 1.45; margin-top: 10px; }
.li-text.sm { font-size: 14px; margin-top: 6px; }
.li-stats { display: flex; justify-content: space-between; margin-top: 12px; padding-bottom: 8px; border-bottom: 1px solid #e8e8e8; font-size: 12.5px; color: rgba(0,0,0,.6); }
.li-stats .re { font-style: normal; display: inline-block; width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 11px; background: #fff; border-radius: 50%; margin-right: -3px; box-shadow: 0 0 0 1.5px #fff; }
.li-stats .re:last-of-type { margin-right: 6px; }
.li-acts { display: flex; justify-content: space-between; padding: 6px 0 4px; font-size: 13.5px; font-weight: 600; color: rgba(0,0,0,.6); }
.li-acts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; }
.li-acts svg { width: 18px; height: 18px; }
.li .r-row { grid-template-columns: 36px 1fr; padding: 8px 28px; }
.li-bubble { background: #f2f2f2; border-radius: 0 10px 10px 10px; padding: 9px 12px 11px; }
.before .li .r-row.is-slop { background: transparent; }
.before .li .r-row.is-slop .li-bubble { background: #fbe1da; }
.li .r-row.is-hidden { background: transparent; }
.li-name { display: flex; justify-content: space-between; font-size: 13.5px; }
.li-name b { font-weight: 600; }
.li-name span { font-size: 12px; color: rgba(0,0,0,.6); }
.li-hl { font-size: 12px; color: rgba(0,0,0,.6); }

.knob { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 3px; background: var(--ink); transform: translateX(-1.5px); pointer-events: none; z-index: 3; }
.knob img { max-width: none; position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--tile); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); padding: 2px; transition: transform .15s; }
.slider.dragging .knob img { transform: translate(-50%, -50%) scale(1.1) rotate(-8deg); }
.slider.dragging { cursor: grabbing; }
.sr-range { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.slider:focus-within .knob img { outline: 3px solid var(--tan); outline-offset: 3px; }

/* what Rotty hides on the selected site */
.hides { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin-top: 30px; align-items: start; }
.hides-col { background: var(--paper); border-radius: 18px; padding: 18px 20px; box-shadow: 0 0 0 2px var(--ink); }
.hides-k { display: block; font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tan-text); margin-bottom: 10px; }
.hides-col.keep { background: var(--ok-bg); box-shadow: none; color: var(--ok); font-size: 15px; }
.hides-col.keep b { font-weight: 700; }
.hides-off { display: block; margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.bones { display: flex; flex-wrap: wrap; gap: 7px; }
.bone { background: var(--ink); color: var(--cream); padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }

/* tricks */
.tricks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.trick { background: #fff; border-radius: 26px; padding: 30px; box-shadow: 0 0 0 2px var(--ink), 0 8px 0 var(--ink); }
.trick .cmd { font-weight: 900; font-size: 36px; letter-spacing: -0.05em; }
.trick .cmd b { color: var(--tan); }
.trick p { color: var(--ink-2); margin: 10px 0 0; font-size: 16px; }

/* runs on */
.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.bowl { border-radius: 26px; padding: 30px; background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.bowl h3 { font-size: 23px; letter-spacing: -0.03em; margin: 0 0 6px; }
.bowl-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.bowl-top .pill { margin: 0; }
.mark { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; }
.mark img { width: 26px; height: 26px; }
.mark.tile { background: var(--tile); }
.mark.tile img { width: 40px; height: 40px; }
.marks { display: flex; gap: 6px; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tan-2); color: var(--ink); margin-bottom: 14px; }
.pill.free { background: var(--ok-bg); color: var(--ok); }
.pill.byok { background: var(--cream-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.bowl p { margin: 0; color: var(--ink-2); font-size: 16px; }
.menu-note { margin-top: 18px; font-size: 15px; color: var(--ink-2); }

/* privacy */
.priv { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.priv .big { font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 880; margin: 0; }
.priv .big span { color: var(--tan); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.ticks li svg { width: 26px; height: 26px; margin-top: 1px; }
.ticks b { display: block; font-size: 17px; }
.ticks span { color: var(--ink-2); font-size: 15.5px; }

/* faq */
.faq details { max-width: 820px; }
details { background: #fff; border-radius: 18px; box-shadow: 0 0 0 2px var(--ink); padding: 18px 22px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--tan); font-size: 24px; line-height: .9; }
details[open] summary::after { content: '–'; }
details p { color: var(--ink-2); margin: 10px 0 0; }

/* closing */
.closing { text-align: center; }
.closing-art { width: 170px; margin: 0 auto; }
.closing-art img { display: block; width: 100%; }
.closing h2 { margin-top: 30px; }
.closing .sub { margin: 0 auto 30px; }
.closing .join { margin: 0 auto; justify-content: center; }

/* footer: big wordmark, Rotty napping on the y. Letters rise and he plops down when it scrolls
   into view; he's a light sleeper and wakes when the cursor comes near. */
.site-footer { background: var(--ink); color: #d9cbb6; padding-top: 72px; overflow: hidden; font-size: 15px; }
.site-footer a { color: #f2e6d4; text-decoration: none; }
.site-footer a:hover { color: var(--tan-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer h4 { margin: 0 0 14px; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a8987f; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .lead { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--cream); line-height: 1.15; margin: 0; }
.site-footer .lead span { color: var(--tan-2); }
.site-footer .big { position: relative; margin-top: 64px; }
.site-footer .word { display: flex; justify-content: center; font-weight: 900; letter-spacing: -.075em; line-height: .74; font-size: clamp(120px, 27vw, 380px); transform: translateY(14%); user-select: none; }
.site-footer .word span { display: inline-block; color: transparent; background: var(--tile); -webkit-background-clip: text; background-clip: text; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.site-footer .bar { border-top: 1px solid #2c251f; position: relative; background: var(--ink); }
.site-footer .bar .wrap { display: flex; justify-content: space-between; gap: 12px 32px; padding-block: 18px; font-size: 13px; line-height: 1.5; color: #a8987f; flex-wrap: wrap; }
.site-footer .bar span:last-child { max-width: 56ch; }

.site-footer .dog { position: absolute; width: clamp(64px, 11vw, 150px); right: 16.5%; top: -2%; z-index: 1; }
.site-footer .dog svg { display: block; width: 100%; overflow: visible; }
.site-footer .body { transform-box: view-box; transform-origin: 256px 392px; animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, 1.06); } }
.site-footer .shut, .site-footer .open { transition: opacity .12s; }
.site-footer .open { opacity: 0; }
.site-footer .pupil { transition: transform .12s ease-out; }
.site-footer .zz { position: absolute; left: 78%; top: 6%; pointer-events: none; }
.site-footer .zz b { position: absolute; font: 800 22px var(--sans); color: #fff; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; opacity: 0; animation: zfloat 3.6s ease-out infinite; }
.site-footer .zz b:nth-child(2) { animation-delay: 1.2s; font-size: 17px; }
.site-footer .zz b:nth-child(3) { animation-delay: 2.4s; font-size: 13px; }
@keyframes zfloat { 0% { opacity: 0; transform: translate(0, 0) rotate(-8deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, -58px) rotate(12deg); } }

/* Arrival: set up by JS (.will-arrive) so the footer still shows fully without it. */
.site-footer.will-arrive .word span { transform: translateY(110%); }
.site-footer.will-arrive .dog { opacity: 0; transform: translateY(-140px); }
.site-footer.in .word span { animation: rise .7s cubic-bezier(.2,1.4,.4,1) both; }
.site-footer.in .word span:nth-child(2) { animation-delay: .08s; }
.site-footer.in .word span:nth-child(3) { animation-delay: .16s; }
.site-footer.in .word span:nth-child(4) { animation-delay: .24s; }
.site-footer.in .word span:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
.site-footer.in .dog { animation: plop .75s .75s both; }
@keyframes plop { 0% { opacity: 1; transform: translateY(-140px); } 55% { transform: translateY(0) scale(1.08, .86); } 75% { transform: translateY(-10px) scale(.97, 1.04); } 100% { opacity: 1; transform: none; } }
.site-footer.landed .word span { animation: none; transform: none; }
.site-footer.landed .word span.lift { transform: translateY(-6%); }

/* Awake */
.site-footer.awake .body { animation: none; }
.site-footer.awake .shut { opacity: 0; }
.site-footer.awake .open { opacity: 1; }
.site-footer.awake .zz b { animation: none; opacity: 0; }
.site-footer.awake .dog svg { animation: perk .35s cubic-bezier(.3,1.8,.5,1); }
@keyframes perk { 40% { transform: translateY(-14px); } }

@media (prefers-reduced-motion: reduce) {
  .site-footer *, .site-footer *::before { animation: none !important; transition: none !important; }
}

/* feedback page: the chat, shown in the page */
.fb-page { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.fb-head h1 { font-size: clamp(44px, 6vw, 72px); margin: 8px 0 12px; }
.fb-head .sub { margin: 0 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* feedback chat (assets/chat.js) */
.chat-launch { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 10px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: 700 15px var(--sans); cursor: pointer; box-shadow: 0 4px 0 #000, 0 16px 34px -14px rgba(23, 19, 15, .6); transition: transform .15s; }
.chat-launch img { width: 32px; height: 32px; border-radius: 9px; transition: transform .3s cubic-bezier(.3,1.8,.5,1); }
.chat-launch:hover { transform: translateY(-2px); }
.chat-launch:hover img { transform: rotate(-10deg); }
.chat-launch:active { transform: translateY(2px); box-shadow: 0 1px 0 #000; }
.chat-launch.open { background: #2a231c; }
.chat-launch:focus-visible { outline: 3px solid var(--tan-2); outline-offset: 3px; }
.chat { padding: 0; position: fixed; right: 20px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: 390px; height: min(580px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink), 0 30px 70px -30px rgba(23, 19, 15, .55); overflow: hidden; animation: chat-in .22s cubic-bezier(.2,1.2,.4,1); }
.chat[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.chat.inline { position: relative; right: auto; bottom: auto; z-index: auto; width: 100%; height: min(640px, 78vh); animation: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: var(--ink); color: var(--cream); }
.chat-head img { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.chat-head > div { flex: 1; min-width: 0; }
.chat-head b { display: block; font-size: 16px; letter-spacing: -.01em; }
.chat-head small { display: block; font-size: 12.5px; color: #b9a990; }
.chat-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.chat-close:hover { background: #2a231c; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.chat .msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; animation: msg-in .2s ease-out; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.chat .msg.bot { align-self: flex-start; background: var(--cream-2); color: var(--ink); border-bottom-left-radius: 6px; }
.chat .msg.me { align-self: flex-end; background: var(--ink); color: var(--cream); border-bottom-right-radius: 6px; }
.chat .msg.err { background: #f8ddd1; color: #7a2508; }
.chat .msg.typing { display: inline-flex; gap: 4px; padding: 14px; }
.chat .msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: dots 1s infinite ease-in-out; }
.chat .msg.typing i:nth-child(2) { animation-delay: .15s; }
.chat .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat-chips:empty { display: none; }
.chat .chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; transition: background .12s, color .12s; }
.chat .chip:hover { background: var(--ink); color: var(--cream); }
.chat .chip:focus-visible { outline: 3px solid var(--tan-2); outline-offset: 2px; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 10px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form:focus-within { box-shadow: inset 0 2px 0 var(--tan); }
.chat-form textarea { flex: 1; min-width: 0; resize: none; border: 0; background: transparent; color: var(--ink); font: 400 15px/1.45 var(--sans); padding: 9px 0; max-height: 120px; outline: none; }
.chat-form textarea::placeholder { color: var(--ink-3); }
.chat-form textarea:disabled { cursor: default; }
.chat-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-send { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tile); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.chat-send:disabled { background: var(--cream-2); color: var(--ink-3); cursor: default; }
.chat-fine { margin: 0; padding: 0 16px 10px; font-size: 12px; color: var(--ink-3); background: var(--paper); }
.chat-fine a { color: var(--ink-2); }
@media (max-width: 560px) {
  .chat:not(.inline) { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); height: min(72vh, 600px); }
  .chat-launch { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .chat, .chat .msg { animation: none; } .chat-log { scroll-behavior: auto; } .chat .msg.typing i { animation: none; opacity: .6; } }

/* prose pages */
.prose { max-width: 760px; padding: 48px 24px 96px; margin: 0 auto; }
.prose h1 { font-size: clamp(40px, 5vw, 64px); }
.prose h2 { font-size: 28px; letter-spacing: -0.03em; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose li + li { margin-top: 6px; }

/* Legal pages (privacy, terms): just the document and a way back. */
.doc-page { background: var(--cream); }
.doc-top { max-width: 760px; margin: 0 auto; padding: 28px 24px 0; }
.doc-back { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.doc-back:hover { background: #fff; }
.doc { padding-top: 36px; }
.doc h1 { margin: 0 0 8px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; scroll-margin-top: 24px; }
.doc h3 { font-size: 18px; letter-spacing: -0.01em; margin: 24px 0 6px; }
.doc a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: rgba(23, 19, 15, .35); }
.doc a:hover { text-decoration-color: var(--tan); }
.doc-meta { font-size: 15px; color: var(--ink-3); margin: 0 0 28px; }
.doc-summary { background: var(--paper); border-radius: 18px; box-shadow: 0 0 0 2px var(--ink); padding: 18px 22px 20px; }
.doc-summary h2 { font: 600 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tan-text); margin: 0 0 6px; }
.doc-summary ul { margin: 0; padding-left: 20px; }
.doc-summary li { color: var(--ink); }
.doc-table { margin: 22px 0 6px; border-radius: 14px; box-shadow: 0 0 0 1.5px var(--line); overflow: hidden; background: var(--paper); font-size: 15px; }
.doc-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink-2); }
.doc-row:first-child { border-top: 0; }
.doc-head { font-weight: 700; color: var(--ink); background: var(--cream-2); }
.doc-caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: .01em; }
.doc-end { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .doc-top { padding: 18px 16px 0; }
  .doc { padding: 26px 16px 72px; }
  .doc h2 { font-size: 22px; margin-top: 36px; }
  /* The table becomes one card per row on phones. */
  .doc-head { display: none; }
  .doc-row { grid-template-columns: 1fr; gap: 4px; }
  .doc-row span:first-child { font-weight: 700; color: var(--ink); }
  .doc-row span:nth-child(2)::before { content: 'Goes to: '; font-weight: 600; color: var(--ink); }
  .doc-row span:nth-child(3)::before { content: 'Kept: '; font-weight: 600; color: var(--ink); }
}
.prose code { font: 14px var(--mono); background: var(--cream-2); padding: 1px 5px; border-radius: 5px; }

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  nav .wrap { gap: 10px; }
  .brand { font-size: 24px; gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .nav-cta { margin-left: auto; }
  /* Phone menu: a button that drops the section links down under the bar. */
  .menu-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, background .2s; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  nav.open .menu-btn span { background: transparent; }
  nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .navlinks { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 4px 16px 14px; background: var(--cream); box-shadow: 0 1px 0 var(--line), 0 18px 30px -14px rgba(60, 30, 5, .3); font-size: 18px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
  nav.open .navlinks { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
  nav.open { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
  .navlinks a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .navlinks a:last-child { border-bottom: 0; }
  .navlinks a:hover { background: transparent; color: var(--tan-text); }
  .navlinks a[aria-current]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }

  .hero { padding: 8px 0 60px; }
  .hero .wrap, .priv { grid-template-columns: 1fr; gap: 32px; }
  .hero .wrap { gap: 4px; }
  .mascot { order: -1; width: min(240px, 62vw); }
  .catch { left: -34%; top: 2%; width: 240px; } .mini { font-size: 13px; padding: 10px 12px; border-radius: 14px; }
  .hid-chip { font-size: 13px; padding: 8px 12px; }
  .tag { white-space: nowrap; }
  .tag-more { display: none; }
  h1 { margin: 18px 0 16px; }
  .lede { font-size: 18px; margin-bottom: 24px; }
  .join button { flex: 1 1 100%; }
  .band { font-size: 20px; padding: 16px 0; }
  .band-group { gap: 32px; padding-right: 32px; }
  .band-logos img { width: 26px; height: 26px; }
  .tricks, .menu { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .trick, .bowl { padding: 24px; border-radius: 22px; }
  .trick .cmd { font-size: 32px; }
  .hides { grid-template-columns: 1fr; }
  .knob img { width: 52px; height: 52px; }
  .corner.left { left: 16px; } .corner.right { right: 16px; }
  .priv { gap: 28px; }
  summary { font-size: 16.5px; }
  section { padding: 64px 0; }
  .site-footer { padding-top: 52px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
  .site-footer .big { margin-top: 72px; }
}
@media (max-width: 560px) {
  .by { display: none; }
  .wrap { padding: 0 16px; }
  .sub { font-size: 17.5px; }
  .tabs { gap: 8px; }
  .tab { padding: 10px 13px; }
  /* The demo threads, a touch tighter so more of each reply fits beside the divider. */
  .rd-post, .li-post { padding-left: 18px; padding-right: 18px; }
  .rd .r-row, .xx .r-row, .x-post, .li .r-row { padding-left: 18px; padding-right: 18px; }
  /* Narrow "with Rotty" side: drop the rules and let the hidden line wrap instead of running off the edge. */
  .hid-line { padding-right: 14px; }
  .hid-line .rule { display: none; }
  .hid-line .lbl { display: block; white-space: normal; font-size: 13px; line-height: 1.4; }
  .hid-line .paw { vertical-align: -3px; margin-right: 5px; }
  .closing-art { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* 404 */
.lost { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 0; padding: 48px 16px; }
.lost h1 { font-size: clamp(40px, 6vw, 64px); margin: 24px 0 12px; }
.lost .sub { margin: 0 auto 28px; }
