/* HeyReceipts refresh: the original design with the reviewed changes (see the design-review sheet).
   Loaded last on every page. */
@font-face{font-family:"Outfit";src:url(fonts/Outfit-Bold.woff) format("woff");font-weight:700;font-display:swap}
@font-face{font-family:"Outfit";src:url(fonts/Outfit-Regular.woff) format("woff");font-weight:400;font-display:swap}
@font-face{font-family:"Geist Mono";src:url(fonts/GeistMono-Bold.woff) format("woff");font-weight:700;font-display:swap}
:root{
 --ink:#1b1838;--yellow:#ffd60a;--yellow-soft:#fff6c9;--yellow-wash:#fffbea;--highlight:#ffe14a;
 --purple:var(--ink);--lilac:var(--yellow-wash);--line:#ebe7dc;
 --display:"Outfit","Geist",system-ui,sans-serif;
}
::selection{background:var(--highlight);color:var(--ink)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* Headlines: Outfit */
h1,h2,.found-slip h3,.product h1,.info-page h1,.breakdown-report h2{font-family:var(--display);font-weight:700;letter-spacing:-.03em}
h1{letter-spacing:-.035em}

/* Logo: bubble + torn-receipt mark, "heyreceipts" */
.logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:700 27px/1 var(--display);letter-spacing:-.035em}
.wordmark-hey{font-weight:400}
.brand-mark{width:32px;height:32px;flex:none}
.brand-mark-body{fill:var(--ink)}
.brand-mark-line{stroke:var(--yellow);stroke-width:2.6;stroke-linecap:round;fill:none}
.footer-copyright .brand-mark{width:24px;height:24px}
.site-header{background:var(--yellow-wash);border-bottom:1px solid var(--line)}
@media(max-width:720px){.logo{font-size:22px}.brand-mark{width:27px;height:27px}}

/* Buttons: yellow, outlined, hard shadow that presses in */
.button.dark,.button.primary-purple,.site-header .dark,.closing .button,.hero-cta-row .primary-purple,.unlock-card .button.dark{background:var(--yellow);color:var(--ink);border:2px solid var(--ink);border-radius:12px;box-shadow:5px 5px 0 var(--ink);transition:transform .14s cubic-bezier(.2,.7,.2,1),box-shadow .14s cubic-bezier(.2,.7,.2,1)}
.site-header .dark{box-shadow:3px 3px 0 var(--ink)}
.button.dark:hover,.button.primary-purple:hover,.site-header .dark:hover,.closing .button:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--ink)}
.site-header .dark:hover{box-shadow:5px 5px 0 var(--ink)}
.button.dark:active,.button.primary-purple:active,.site-header .dark:active,.closing .button:active{transform:translate(5px,5px);box-shadow:0 0 0 var(--ink);transition-duration:.06s}
.site-header .dark:active{transform:translate(3px,3px)}
.button.outline{border:2px solid var(--ink);color:var(--ink);background:#fff;border-radius:12px}
.button.outline:hover{background:var(--yellow-soft)}

/* Hero: evidence tags replace the round icon cluster */
.exhibits{display:flex;justify-content:center;gap:12px;perspective:600px;margin:0 auto 26px;height:auto}
.exhibit{position:relative;display:grid;place-items:center;width:58px;height:66px;background:#fff;border:2px solid var(--ink);border-radius:10px;transform:rotate(var(--tilt));transform-style:preserve-3d;box-shadow:3px 3px 0 var(--line)}
.exhibit b{position:absolute;top:5px;left:7px;font:700 10px/1 "Geist Mono",ui-monospace,monospace;color:#8a8577}
.exhibit svg{width:26px;height:26px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.exhibit.is-key{background:var(--yellow)}
@media(max-width:600px){.exhibit{width:46px;height:54px}.exhibit svg{width:21px;height:21px}.exhibits{gap:8px}}
.hero,.closing{background:var(--yellow-wash)}

/* Chat scanner: fast scan, land, highlight, blur the rest, pin to the side */
.scanner-chat,.scanner-chat[data-theme]{background:#f4f3ef;border-color:#e3e0d6;box-shadow:0 3px 0 #e8e4d8,0 20px 60px #3a2f0a10}
.live-track{animation:none!important;will-change:transform}
.live-message{transition:filter .35s,opacity .35s,background .35s,transform .35s;border-color:#e6e2d8;color:#3d3a4f}
.live-message.outgoing,.scanner-chat[data-theme] .live-message.outgoing{background:#ecebf3;border-color:#dedbe8}
.live-message .sender,.live-message.outgoing .sender{color:#6e6a80}
.is-scanning .live-message{filter:blur(.6px)}
.is-landed .live-message:not(.is-hit){filter:blur(2.2px);opacity:.35}
.live-message.is-hit{background:var(--highlight)!important;border:2px solid var(--ink)!important;color:var(--ink);transform:scale(1.04);z-index:2;box-shadow:4px 4px 0 var(--ink)}
.live-message.is-hit .sender,.live-message.is-hit time{color:var(--ink)}
.scan-focus{position:absolute;left:10px;right:10px;top:50%;height:2px;margin-top:-1px;background:var(--yellow);box-shadow:0 0 12px 2px #ffd60a66;opacity:0;z-index:3;pointer-events:none}
.pin-flight{position:absolute;z-index:20;pointer-events:none;background:var(--highlight);border:2px solid var(--ink);border-radius:12px;padding:9px 11px;font-size:12px;line-height:1.4;color:var(--ink);box-shadow:4px 4px 0 var(--ink)}
.found-slip{border:2px solid var(--ink);box-shadow:6px 6px 0 var(--line)}
.found-label{color:#6e6a80}
.found-count{font:700 11px/1 "Geist Mono",ui-monospace,monospace;background:var(--yellow);border:1.5px solid var(--ink);border-radius:999px;padding:3px 8px;color:var(--ink)}
.pins{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.pin{background:#fff;border:1.5px solid #e6e1d2;border-radius:10px;padding:9px 10px;font-size:12.5px;line-height:1.45;color:var(--ink)}
.pin small{display:block;margin-top:4px;font-size:10px;color:#7a7568}
.pin:nth-child(2){opacity:.72}.pin:nth-child(3){opacity:.45}
.source-slip{border:2px solid var(--ink)!important;box-shadow:6px 6px 0 var(--line)!important}
.source-icon svg{stroke:var(--ink)}

/* Usage counters, printed: a printer that keeps feeding a receipt as the totals tick */
.usage-preview{text-align:center}
.usage-printer{max-width:520px;margin:34px auto 0;position:relative}
.printer-head{height:64px;background:var(--ink);border-radius:16px 16px 12px 12px;position:relative;box-shadow:0 10px 24px #1b183824}
.printer-head::before{content:"";position:absolute;left:22px;top:18px;width:9px;height:9px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 3px #ffd60a44}
.printer-head::after{content:"";position:absolute;left:26px;right:26px;bottom:12px;height:7px;border-radius:4px;background:#000}
.printer-out{margin:-10px 34px 0;overflow:hidden;padding:0 10px 30px}
.usage-receipt{--tear:8px;background:#fff;font:14px/1.5 "Geist Mono",ui-monospace,monospace;color:var(--ink);text-align:left;padding:22px 24px calc(var(--tear) + 18px);filter:drop-shadow(0 12px 18px #1b18381a);-webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/calc(var(--tear)*2) 100%;mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/calc(var(--tear)*2) 100%}
.usage-receipt p{margin:0}
.ur-head{display:flex;justify-content:space-between;font-weight:700;letter-spacing:.06em;padding-bottom:10px;border-bottom:2px dashed #e2ded2;margin-bottom:8px!important}
.ur-line{display:flex;align-items:baseline;gap:10px;padding:10px 0}
.ur-line span:first-child{font-weight:700}
.ur-line i{flex:1;border-bottom:2px dotted #cfcabb;transform:translateY(-4px)}
.ur-line strong{font:700 26px/1 var(--display);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ur-foot{border-top:2px dashed #e2ded2;padding-top:10px;margin-top:6px!important;font-size:11.5px;color:#7a7568;text-transform:uppercase;letter-spacing:.04em}
.usage-preview>p{display:none}
@media(max-width:600px){.printer-out{margin-inline:16px}.usage-receipt{padding:18px 16px calc(var(--tear) + 16px);font-size:12px}.ur-line strong{font-size:21px}}

/* Product pages: purple accents become ink or yellow */
.mode-note{background:var(--yellow-soft);color:var(--ink)}
.unlock-card{background:var(--yellow-soft);border-color:#efe3a8}
.feedback-row .chip.on{background:var(--yellow);border-color:var(--ink);color:var(--ink)}
.bd-kicker{color:#8a6d00}
.bd-label{background:var(--yellow-soft);color:var(--ink)}
.bd-line.is-key{background:var(--yellow-soft)}
.bd-timeline li:before{border-color:var(--ink)}
.bd-note{color:var(--ink);font-weight:600}
.product .button:focus-visible,.product summary:focus-visible{outline-color:var(--ink)}
.bar-fill{background:var(--yellow);border:1px solid var(--ink)}
.message-meta strong,.preview-messages strong{color:var(--ink)}
.work-tabs button[aria-pressed=true]{border-color:var(--ink);color:var(--ink)}

@media (prefers-reduced-motion:reduce){.live-message{transition:none}.is-scanning .live-message{filter:none}}
/* Higher specificity than the legacy layers (focus.css sets Geist on these) */
body .motion-hero h1,body .use-cases h2,body .imports-strip h2,body .usage-preview h2,body .world-intro h2,body .closing h2,body .info-page h1,body .faq h2{font-family:var(--display);font-weight:700;letter-spacing:-.035em;line-height:1.05}
body .motion-hero h1{font-size:clamp(40px,4.9vw,60px)}
body .motion-hero{background:radial-gradient(ellipse at 50% 96%,#fff3c4 0%,#fff 62%)}
body .closing{background:radial-gradient(ellipse at center,#fff1b8,#fffbea)}

/* Conversation wall, shared: cards are buttons that open the whole chat */
.snapshot-message.proof{position:relative;isolation:isolate}
.transcript{display:grid;gap:8px;max-height:58vh;overflow:auto;padding:4px 2px}
.t-msg{max-width:84%;justify-self:start;background:#f1f0f5;border-radius:14px 14px 14px 4px;padding:8px 12px;font-size:14.5px;line-height:1.4}
.t-msg.mine{justify-self:end;background:#ecebf3;border-radius:14px 14px 4px 14px}
.t-msg b{display:block;font-size:11px;color:#7a7690;font-weight:600}
.t-msg.proof{background:var(--highlight);outline:2px solid var(--ink)}
.transcript-note{color:#7a7690;font-size:13px;margin:10px 0}

/* Conversation wall: upright, with each answer highlighted and circled like marked evidence */
.conversation-wall.flat{transform:none;left:auto;margin:0 auto}
[data-wall="3"] .wall-perspective{height:720px}
[data-wall="3"] .snapshot-message.proof{background:var(--highlight);border:2px solid var(--ink)}
[data-wall="3"] .night-mode .snapshot-message.proof p,[data-wall="3"] .night-mode .snapshot-message.proof>span{color:var(--ink)}
.proof-ring{position:absolute;left:-12px;top:-12px;width:calc(100% + 24px);height:calc(100% + 24px);overflow:visible;pointer-events:none;z-index:2}
.proof-ring path{fill:none;stroke:#e8442e;stroke-width:2.6;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:420;stroke-dashoffset:420;animation:ring-draw 7s ease-in-out infinite}
@keyframes ring-draw{0%,15%{stroke-dashoffset:420}35%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:-420}}
.motion-stopped .proof-ring path{animation-play-state:paused}

@media (prefers-reduced-motion:reduce){.proof-ring path{animation:none;stroke-dashoffset:0}}

/* Pinned finds show the prompt that found them */
.pin{display:grid;gap:5px}
.pin-q{display:flex;align-items:center;gap:6px;font-weight:600;font-size:11.5px;line-height:1.35;color:var(--ink)}
.pin-q svg{flex:none;width:13px;height:13px;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round}
.pin-a{background:var(--highlight);border-radius:4px;padding:1px 4px;-webkit-box-decoration-break:clone;box-decoration-break:clone;font-size:12px}
.pin small{margin-top:0}
.live-chat-header small{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Use-case grid: brand cards (ink outline, hard shadow, line icons in a yellow bubble, a real prompt) */
body .case-grid{background:none;box-shadow:none;padding:0;gap:18px;perspective:none}
body .case-grid .case-tile{transform:none;background:#fff;border:2px solid var(--ink);border-radius:16px;box-shadow:5px 5px 0 var(--ink);padding:20px 20px 18px;min-height:0;align-items:flex-start;justify-content:flex-start;text-align:left;gap:10px;color:var(--ink);transition:transform .16s cubic-bezier(.2,.7,.2,1),box-shadow .16s cubic-bezier(.2,.7,.2,1)}
body .case-grid .case-tile>.case-icon{transform:none;width:44px;height:40px;border-radius:12px 12px 12px 3px;background:var(--yellow);border:2px solid var(--ink);box-shadow:none;display:grid;place-items:center}
body .case-grid .case-tile:nth-child(n)>.case-icon{background:var(--yellow);box-shadow:none}
.case-icon svg{width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body .case-grid strong{font:700 18px/1.2 var(--display);letter-spacing:-.02em;margin-top:4px}
.case-tile q{font-size:13.5px;line-height:1.45;color:#5d5870;quotes:"“" "”"}
body .case-grid .case-tile:hover{background:#fff;transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--ink)}
body .case-grid .case-tile:hover>.case-icon{transform:rotate(-6deg)}
.case-tile q{quotes:none}.case-tile q span{background:linear-gradient(var(--highlight),var(--highlight)) 0 0/0 100% no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:1px 3px;border-radius:3px;transition:background-size .35s cubic-bezier(.2,.7,.2,1),color .2s}.case-tile:hover q span{background-size:100% 100%;color:var(--ink)}
@media(prefers-reduced-motion:reduce){.case-tile q span{transition:none}}
@media(max-width:760px){body .case-grid{grid-template-columns:1fr 1fr;gap:12px}body .case-grid .case-tile{padding:15px 14px;box-shadow:4px 4px 0 var(--ink)}body .case-grid strong{font-size:15px}.case-tile q{font-size:12px}body .case-grid .case-tile>.case-icon{width:38px;height:34px}.case-icon svg{width:19px;height:19px}}
@media(max-width:340px){body .case-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body .case-grid .case-tile,body .case-grid .case-tile>.case-icon{transition:none;transform:none!important}}
body .case-grid .case-icon svg{width:24px;height:24px;min-width:24px}
@media(max-width:760px){body .case-grid .case-icon svg{width:20px;height:20px;min-width:20px}}
/* Use-case grid: evidence stickers on a yellow board (Jack's pick, option D) */
body .case-grid{background:var(--yellow);border:2px solid var(--ink);border-radius:28px;padding:26px;gap:18px;counter-reset:ex;box-shadow:6px 6px 0 var(--ink)}
body .case-grid .case-tile{counter-increment:ex;position:relative;align-items:center;text-align:center;border-radius:12px;box-shadow:3px 3px 0 var(--ink);padding:30px 16px 18px;transform:rotate(var(--tilt,0deg))}
body .case-grid .case-tile:nth-child(3n+1){--tilt:-2deg}body .case-grid .case-tile:nth-child(3n+2){--tilt:1.5deg}body .case-grid .case-tile:nth-child(3n){--tilt:-1deg}
body .case-grid .case-tile::before{content:counter(ex,upper-alpha);position:absolute;top:9px;left:11px;font:700 11px/1 "Geist Mono",ui-monospace,monospace;color:#8a8577}
body .case-grid .case-tile:nth-child(n)>.case-icon{background:none;border:0;width:auto;height:auto}
body .case-grid .case-icon svg{width:34px;height:34px;min-width:34px}
body .case-grid q{font-size:12.5px}
body .case-grid .case-tile:hover{transform:rotate(0) translateY(-4px);box-shadow:5px 7px 0 var(--ink)}
body .case-grid .case-tile:hover>.case-icon{transform:none}
/* Six supported sources */
body .app-platforms{grid-template-columns:repeat(6,1fr);max-width:820px}
@media(max-width:760px){body .app-platforms{grid-template-columns:repeat(3,1fr)}}
.guide-way{border:1.5px solid var(--line);border-radius:12px;padding:10px 14px;margin:10px 0;background:#fff}
.guide-way summary{font-weight:700;cursor:pointer}
.guide-way ol{padding-left:22px;line-height:1.6}
.guide-way code,.source-guide code{background:var(--yellow-wash);border:1px solid var(--line);border-radius:6px;padding:1px 5px;word-break:break-all}
/* ---- Full breakdown ---- */
.bd-cta{display:flex;flex-direction:column;gap:4px;margin:26px 0 0;padding:18px 20px;border:2px solid var(--ink);border-radius:16px;background:var(--yellow);box-shadow:5px 5px 0 var(--ink);color:var(--ink);text-decoration:none;transition:transform .14s,box-shadow .14s}
.bd-cta strong{font:700 20px/1.2 var(--display)}.bd-cta span{font-size:14px}
.bd-cta:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--ink)}
.bd{max-width:680px;margin:0 auto;padding-bottom:40px;color:var(--ink)}
.bd-title{font:700 clamp(36px,6vw,58px)/1.02 var(--display);letter-spacing:-.04em;margin:18px 0 22px}
.bd-byline{display:flex;gap:12px;align-items:center;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--yellow-wash);font-size:14px;line-height:1.45;margin-bottom:26px}
.bd-byline .brand-mark{width:30px;height:30px;flex:none}
.bd p,.bd li{font-size:17.5px;line-height:1.7}
.bd-open:first-of-type{font-size:20px;line-height:1.6}
.bd-safety{border:2px solid var(--ink);border-radius:16px;background:#fff;padding:6px 20px 10px;margin:0 0 26px;box-shadow:5px 5px 0 var(--yellow)}
.bd-safety h2{font:700 21px/1.3 var(--display);margin:14px 0 4px}
.bd-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:26px 0 8px}
.bd-facts div{border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;background:#fff;display:flex;flex-direction:column;gap:3px;font-size:14px}
.bd-facts strong{font:700 18px/1.2 var(--display);margin-bottom:4px}
.bd-section{margin-top:44px}
.bd-section h2{font:700 clamp(25px,3.4vw,32px)/1.15 var(--display);letter-spacing:-.025em;margin:0 0 14px}
.bd-quote{margin:18px 0;max-width:520px}
.bd-quote blockquote{margin:0;background:var(--highlight);border:2px solid var(--ink);border-radius:18px 18px 18px 6px;padding:12px 16px;font-size:16.5px;line-height:1.5;box-shadow:4px 4px 0 var(--ink);white-space:pre-wrap}
.bd-quote figcaption{font-size:13px;color:#6f6a80;margin:8px 0 0 6px}
.bd-next{margin-top:52px;padding-top:26px;border-top:2px dashed var(--line)}
.bd-next h2{font:700 28px/1.2 var(--display);margin:0}
.bd-follow{display:grid;grid-template-columns:auto 1fr;column-gap:12px;text-align:left;width:100%;margin:12px 0;padding:14px 16px;border:2px solid var(--ink);border-radius:14px;background:#fff;box-shadow:4px 4px 0 var(--ink);cursor:pointer;font:inherit;color:var(--ink);transition:transform .14s,box-shadow .14s}
.bd-follow>span{grid-row:1/3;font-size:22px}.bd-follow strong{font:700 17px/1.3 var(--display)}.bd-follow small{font-size:14px;color:#5d5870}
.bd-follow:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--ink)}
.bd-foot{margin-top:30px}
.bd-writing{text-align:center;padding:60px 0}
.bd-writing h1{font:700 clamp(30px,5vw,44px)/1.1 var(--display);letter-spacing:-.03em}
.bd-scan{display:flex;flex-direction:column;gap:8px;max-width:280px;margin:0 auto 26px}
.bd-scan i{height:14px;border-radius:8px;background:#ece8dc;animation:bd-scan 1.6s ease-in-out infinite}
.bd-scan i:nth-child(2){width:80%;animation-delay:.15s}.bd-scan i:nth-child(3){width:90%;animation-delay:.3s;align-self:flex-end}.bd-scan i:nth-child(4){width:60%;animation-delay:.45s}.bd-scan i:nth-child(5){width:75%;animation-delay:.6s;align-self:flex-end}
@keyframes bd-scan{0%,100%{background:#ece8dc}50%{background:var(--highlight)}}
@media(prefers-reduced-motion:reduce){.bd-scan i{animation:none}.bd-cta,.bd-follow{transition:none}}
.download-mac{display:inline-flex;margin:6px 0 12px;font-size:16px;padding:14px 22px;text-decoration:none}
.big-steps{font-size:16px;line-height:1.7;padding-left:22px}
.dropzone.done{border-color:var(--ink);background:var(--yellow-wash)}
/* Read it in the chat */
.chat-jump{margin-top:8px}.text-link.chat-jump{display:inline-block;font-weight:600;color:var(--ink);text-decoration:underline;background:none;border:0;padding:0;cursor:pointer;font:inherit;font-size:14px}
.chat-view{max-width:680px;margin:0 auto}
.chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 18px;font-size:14px;color:#6f6a80}
.chat-list{display:flex;flex-direction:column;gap:10px;margin:16px 0;padding:18px;border:1.5px solid var(--line);border-radius:18px;background:var(--yellow-wash)}
.chat-row{align-self:flex-start;max-width:85%;background:#fff;border:1.5px solid var(--line);border-radius:16px 16px 16px 5px;padding:9px 13px}
.chat-row.mine{align-self:flex-end;border-radius:16px 16px 5px 16px;background:#fff6c9}
.chat-row p{margin:3px 0 0;font-size:15.5px;line-height:1.5;white-space:pre-wrap}
.chat-row.is-key{background:var(--highlight);border:2px solid var(--ink);box-shadow:4px 4px 0 var(--ink)}
.who-row{display:flex;align-items:center;gap:10px;font-weight:600;margin:14px 0 0}.who-row select{width:auto}
