/* www.css: sniffington.com marketing pages (cloud/src/site). Theme B, "sticker shop", chosen 2026-10-04:
   thick ink outlines, flat colour, hard shadows, a heavy system grotesk, Sniffington the bloodhound, and case
   notes (typed reasons on manila with a stamp) for every post the product rules out.
   Rules: brand green fills one control per screen (the primary action); outlines and hard shadows only on things
   you can touch or that stand for a post; sections sit on the canvas. System fonts only (no runtime downloads). */

:root {
  color-scheme: light dark;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --typed: "Courier Prime", "American Typewriter", "Courier New", Courier, monospace;
  --bg: #fff7e3; --surface: #ffffff; --surface-2: #fdf0c9; --hair: rgba(18, 18, 18, .14);
  --ink: #121212; --text: #121212; --text-2: #3d3a33; --text-3: #6b665a;
  --accent: #0e6b52; --accent-hover: #0a5641; --accent-fg: #ffffff;
  --mustard: #f2c14e; --pink: #f5a3c7; --sky: #9ad0f5; --mint: #a8e3c8;
  --note: #f6e7b8; --note-line: #d9c27f; --stamp: #a3341f;
  --pos: #1b7447; --neg: #b42318; --warn: #8a5300;
  --bw: 2.5px; --lift: 5px 5px 0 var(--ink); --lift-sm: 3px 3px 0 var(--ink);
  --t1: 13px; --t2: 15px; --t3: 17px; --t4: 21px; --t5: clamp(28px, 3.6vw, 38px); --t6: clamp(40px, 6.4vw, 72px);
  --r-sm: 10px; --r: 16px; --r-pill: 999px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17150f; --surface: #221f17; --surface-2: #2d281a; --hair: rgba(246, 239, 220, .16);
    --ink: #f3ead2; --text: #f6efdc; --text-2: #d3cbb4; --text-3: #a49d88;
    --accent: #45c79b; --accent-hover: #62d6ae; --accent-fg: #062a1e;
    --mustard: #e3b23c; --pink: #e889b3; --sky: #7fbde6; --mint: #6cc9a2;
    --note: #3a321c; --note-line: #6b5a2c; --stamp: #f08d75;
    --pos: #5cc98e; --neg: #f28a7f; --warn: #e3a64a;
  }
}
:root[data-theme="dark"] {
  --bg: #17150f; --surface: #221f17; --surface-2: #2d281a; --hair: rgba(246, 239, 220, .16);
  --ink: #f3ead2; --text: #f6efdc; --text-2: #d3cbb4; --text-3: #a49d88;
  --accent: #45c79b; --accent-hover: #62d6ae; --accent-fg: #062a1e;
  --mustard: #e3b23c; --pink: #e889b3; --sky: #7fbde6; --mint: #6cc9a2;
  --note: #3a321c; --note-line: #6b5a2c; --stamp: #f08d75;
  --pos: #5cc98e; --neg: #f28a7f; --warn: #e3a64a;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body.www { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--t3)/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--text); text-decoration-thickness: 2px; text-decoration-color: var(--mustard); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.05; letter-spacing: -.03em; font-weight: 900; text-wrap: balance; }
h1 { font-size: var(--t6); max-width: 13ch; }
h2 { font-size: var(--t5); }
h3 { font-size: var(--t3); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--surface); padding: 8px 12px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); }
.skip:focus { left: 16px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1260px; }
/* narrow sections keep the page's left edge and just stop sooner */
.wrap.narrow > * { max-width: 712px; }
.lede { font-size: var(--t4); line-height: 1.45; color: var(--text-2); max-width: 34em; font-weight: 500; }
.sub { color: var(--text-2); max-width: 46em; }
.fine { font-size: var(--t1); color: var(--text-3); margin-top: 10px; }
.crumb { font-size: var(--t1); color: var(--text-3); margin-bottom: 14px; }
.crumb a { color: inherit; }
.more { font-weight: 800; }
.more::after { content: " →"; }
.typed { font-family: var(--typed); }

/* punchy keywords: one sticker highlight per heading (*phrase* in content.mjs), a marker stroke in body copy
   (==phrase==). The highlight colour rotates by section so a long page doesn't turn into one mustard stripe. */
.hl { font-style: normal; background: var(--hl, var(--mustard)); color: #121212; padding: 0 .14em; border: var(--bw) solid var(--ink);
      border-radius: 10px; display: inline-block; transform: rotate(-1.2deg); line-height: 1.12; }
h2 .hl { border-radius: 9px; }
.band:nth-of-type(4n+1) { --hl: var(--sky); } .band:nth-of-type(4n+2) { --hl: var(--pink); }
.band:nth-of-type(4n+3) { --hl: var(--mint); } .band:nth-of-type(4n) { --hl: var(--mustard); }
.band.cta { --hl: #ffffff; }
.page-hero { --hl: var(--mustard); }
mark { color: inherit; background: linear-gradient(transparent 56%, color-mix(in srgb, var(--mustard) 75%, transparent) 56%); padding: 0 .06em; }

/* buttons and the brand box: the only things with a hard shadow besides posts */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 18px; border-radius: var(--r-sm);
       border: var(--bw) solid var(--ink); background: var(--surface); color: var(--text); font: 800 var(--t2)/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
       transition: transform .08s ease-out, box-shadow .08s ease-out; }
.btn:hover { box-shadow: var(--lift-sm); transform: translate(-1px, -1px); }
.btn:active { transform: translate(1px, 1px); box-shadow: none; }
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: var(--lift-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-fg); box-shadow: var(--lift); }
.btn-ink { background: var(--ink); color: var(--bg); border-radius: var(--r-pill); }
.btn-ink:hover { color: var(--bg); }
.track { display: flex; gap: 10px; max-width: 540px; margin-top: 30px; }
.track input { flex: 1; min-width: 0; min-height: 56px; padding: 10px 16px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); color: var(--text); font: 500 var(--t3) var(--font); }
.track input::placeholder { color: var(--text-3); }
.track input:focus { outline: 3px solid var(--mustard); outline-offset: 0; }
.track .btn { min-height: 56px; padding: 0 22px; font-size: var(--t3); border-radius: var(--r); }

/* nav and footer */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: var(--bw) solid var(--ink); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: var(--t3); color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo .snf { width: 40px; height: 40px; background: var(--mustard); border: var(--bw) solid var(--ink); border-radius: 50%; padding: 2px; flex: none; }
.logo .tld { color: var(--text-3); font-weight: 700; }
/* wordmark lockups for "Sniffington" (LOCKUPS in cloud/src/site/layout.mjs) */
.wm { font-weight: 900; font-size: 21px; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.wm b { font-weight: 900; }
.wm-lite { font-weight: 600; color: var(--text-2); letter-spacing: -.02em; }
.wm-stack { display: grid; gap: 3px; }
.wm-sub { font-size: 11.5px; font-weight: 700; color: var(--text-3); letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.wm-hl { display: inline-block; background: var(--mustard); color: #121212; border: 2px solid var(--ink); border-radius: 7px; padding: 1px 4px 2px; margin-right: 1px; transform: rotate(-3deg); }
.wm-green { color: var(--accent); }
.wm-nose { position: relative; display: inline-block; }
.wm-nose::after { content: ""; position: absolute; left: 50%; top: .02em; width: .34em; height: .24em; border-radius: 50% 50% 45% 45%; background: var(--ink); transform: translateX(-50%); }
.wm-pill { display: inline-flex; align-items: center; gap: 6px; border: var(--bw) solid var(--ink); border-radius: var(--r-pill); background: var(--surface); padding: 2px 14px 2px 2px; box-shadow: var(--lift-sm); }
.wm-pill .snf { margin: -6px 0 -6px -6px; width: 46px; height: 46px; }
.nav-links { display: flex; gap: 22px; font-size: var(--t2); font-weight: 600; }
.nav-links a { color: var(--text-2); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 3px; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: var(--t2); }
.nav-signin { color: var(--text-2); text-decoration: none; font-weight: 600; }
.nav-signin:hover { color: var(--text); }
.nav-cta .btn { min-height: 38px; padding: 6px 16px; }
.foot { border-top: var(--bw) solid var(--ink); padding: 48px 0 32px; font-size: var(--t2); background: var(--surface-2); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: var(--t1); font-weight: 800; color: var(--text-3); margin-bottom: 10px; letter-spacing: 0; }
.foot-in > div:not(.foot-brand) a { display: block; color: var(--text-2); text-decoration: none; padding: 3px 0; }
.foot-in a:hover { color: var(--text); }
.foot-brand p { color: var(--text-2); margin-top: 10px; max-width: 30ch; }
.foot-base { margin-top: 36px; color: var(--text-3); font-size: var(--t1); }

/* sections */
.hero { padding: 56px 0 24px; }
.page-hero { padding: 64px 0 8px; }
.band { padding: 72px 0; border-top: var(--bw) solid var(--ink); }
.band.first { border-top: 0; padding-top: 32px; }
.band.cta { background: var(--mustard); color: #121212; text-align: left; }
.band.cta .lede, .band.cta p { color: #121212; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split > *, .editions > *, .tool-list > *, .hero-grid > * { min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px solid var(--hair); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; }
.code { font: 13.5px/1.6 var(--mono); background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r-sm); padding: 14px 16px; overflow-x: auto; white-space: pre; margin: 0 0 1em; color: var(--text); }

/* hero: words on the left, a sticker stage on the right (a kept post, two case notes, Sniffington) */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-grid h1 em { font-style: normal; background: var(--mustard); color: #121212; padding: 0 .15em; border: var(--bw) solid var(--ink); border-radius: 12px; display: inline-block; transform: rotate(-1.5deg); }
.stage { position: relative; min-height: 580px; }
.stage .sticker { position: absolute; width: min(380px, 78%); }
.stage .s1 { top: 0; right: 0; transform: rotate(1.5deg); }
.stage .s2 { top: 178px; right: 34px; transform: rotate(-2deg); z-index: 1; }
.stage .s3 { top: 352px; right: 6px; transform: rotate(1.2deg); z-index: 2; }
.stage .snf-wrap { position: absolute; left: -6px; bottom: -18px; width: 176px; cursor: pointer; z-index: 3; }
.stage .bubble { position: absolute; left: 0; bottom: 196px; max-width: 168px; z-index: 3; }
.stage .bubble::after { left: 34px; bottom: -11px; transform: rotate(-45deg) skew(10deg, 10deg); }

/* a post as a sticker; a ruled-out post as a case note */
.post { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--lift); display: grid; gap: 6px; text-align: left; }
.note { background: var(--note); border: var(--bw) solid var(--ink); border-radius: 6px; padding: 14px 16px; box-shadow: var(--lift); position: relative; display: grid; gap: 6px; text-align: left; }
.note .r-meta { padding-right: 96px; }
.note .why { font-family: var(--typed); font-size: 16px; line-height: 1.4; color: var(--text); margin: 0; padding-right: 92px; }
.stamp { position: absolute; right: 12px; top: 10px; font: 700 12px/1 var(--typed); letter-spacing: .12em; color: var(--stamp); border: 2px solid var(--stamp); border-radius: 4px; padding: 4px 7px 3px; transform: rotate(-6deg); text-transform: uppercase; }
.bubble { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: 18px; padding: 10px 14px; font: 600 15px/1.35 var(--typed); box-shadow: var(--lift-sm); position: relative; }
.bubble::after { content: ""; position: absolute; left: -11px; bottom: 16px; width: 18px; height: 18px; background: var(--surface); border-left: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); transform: rotate(45deg) skew(10deg, 10deg); }
.snf-wrap svg { display: block; width: 100%; height: auto; }

/* the app frame: both lists at once, so the reasons are on screen without a click */
.shot { margin: 40px 0 0; }
.shot figcaption { font-size: var(--t1); color: var(--text-3); margin-top: 14px; text-align: center; }
.af { background: var(--surface-2); border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; font-size: 14px; line-height: 1.5; text-align: left; }
.af-top { display: flex; align-items: center; gap: 14px; height: 54px; padding: 0 18px; border-bottom: var(--bw) solid var(--ink); background: var(--surface); font-size: var(--t1); color: var(--text-2); }
.af-dots { display: flex; gap: 6px; } .af-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--pink); } .af-dots i + i { background: var(--mustard); } .af-dots i + i + i { background: var(--mint); }
.af-brand { font-weight: 800; color: var(--text); font-size: 14px; }
.af-proj { display: inline-flex; align-items: center; gap: 7px; border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 2px 10px; color: var(--text); font-weight: 700; }
.pdot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.af-scan { margin-left: auto; }
.af-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 22px 24px 26px; }
.af-col { min-width: 0; display: grid; gap: 14px; align-content: start; }
.af-colh { display: flex; align-items: baseline; gap: 8px; font-size: var(--t2); font-weight: 900; }
.af-colh span { color: var(--text-3); font-weight: 600; font-size: var(--t1); }
.af-col .post, .af-col .note { box-shadow: var(--lift-sm); }

/* one mention, shared by posts and notes */
.r-meta { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; font-size: var(--t1); color: var(--text-2); min-width: 0; }
.r-meta .sep { color: var(--text-3); }
.r-src, .r-author { font-weight: 700; color: var(--text); }
.r-right { margin-left: auto; }
.src-logo { width: 16px; height: 16px; fill: var(--src, currentColor); flex: none; }
.urg { font-weight: 800; font-variant-numeric: tabular-nums; }
.u-high { color: var(--neg); } .u-med { color: var(--warn); } .u-low { color: var(--text-3); }
.r-reason { margin: 0; font-weight: 800; color: var(--text); font-size: 15px; line-height: 1.35; }
.r-text { margin: 0; color: var(--text-2); font-size: 14px; overflow-wrap: anywhere; }
.r-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 0 9px; background: var(--surface); color: var(--text); white-space: nowrap; line-height: 20px; }
.t-pos { background: var(--mint); color: #121212; } .t-neg { background: var(--pink); color: #121212; } .t-neu { background: var(--sky); color: #121212; }
.t-cat { background: var(--surface-2); }
.pair { display: grid; gap: 16px; }

/* how it works: four steps in a row, a picture under each */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: grid; gap: 16px; align-content: start; }
.step h3 { margin: 10px 0 6px; }
.step p { color: var(--text-2); font-size: var(--t2); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); color: #121212; border: var(--bw) solid var(--ink); font-size: var(--t3); font-weight: 900; box-shadow: var(--lift-sm); }
.vis { border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); padding: 14px; font-size: var(--t1); box-shadow: var(--lift-sm); }
.vf { display: grid; gap: 2px; padding: 6px 0; border-bottom: 1px solid var(--hair); }
.vf:last-child { border-bottom: 0; }
.vl { color: var(--text-3); font-weight: 600; }
.vv { color: var(--text); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 0 9px; background: var(--surface-2); font-weight: 700; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.lg { display: grid; place-items: center; height: 40px; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface); }
.lg .src-logo { width: 20px; height: 20px; }
.vis-cap { margin: 12px 0 0; color: var(--text-2); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.vis-sort { display: grid; gap: 8px; }
.mini { display: grid; gap: 4px; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface); }
.mini b { font-weight: 800; }
.mini.is-out { background: var(--note); }
.mini.is-out b { font-family: var(--typed); font-weight: 400; }
.slack { border: 2px solid var(--ink); border-radius: 10px; background: var(--surface-2); padding: 10px 12px; }
.slack-ch { font-weight: 800; color: var(--text-3); }
.slack p { margin: 4px 0 0; color: var(--text); font-weight: 600; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.act { border: 2px solid var(--ink); border-radius: 10px; padding: 2px 9px; background: var(--surface); font-weight: 800; }

/* use cases */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin-top: 32px; }
.use { display: flex; flex-direction: column; }
.use h3 { margin-bottom: 4px; }
.use > p { color: var(--text-2); font-size: var(--t2); margin-bottom: 14px; flex: 1; }
.use-post { border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); padding: 12px 14px; box-shadow: var(--lift-sm); }
.use:nth-child(3n+1) .use-post { transform: rotate(-.8deg); } .use:nth-child(3n+2) .use-post { transform: rotate(.6deg); } .use:nth-child(3n) .use-post { transform: rotate(-.4deg); }
.use-post .r-meta { gap: 6px; }
.use-post .tag-cat { margin-left: auto; }
.use-post p { margin: 8px 0 0; font-size: 14px; color: var(--text); font-weight: 600; }

/* sources */
.sources { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.sources li { display: grid; grid-template-columns: 22px 120px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: var(--t2); }
.s-name { font-weight: 800; }
.s-how { color: var(--text-2); }
.s-cost { font-size: 12px; font-weight: 800; border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 0 8px; }
.s-free { background: var(--mint); color: #121212; } .s-paid { background: var(--surface); }

/* editions */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 12px; }
.ed { border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); padding: 20px 22px; box-shadow: var(--lift); }
.ed h3 { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.ed-price { font-weight: 800; color: var(--text-2); font-size: var(--t2); }

/* plans */
.period { border: var(--bw) solid var(--ink); padding: 3px; margin: 0 0 24px; display: inline-flex; background: var(--surface); border-radius: var(--r-pill); }
.period input { position: absolute; opacity: 0; pointer-events: none; }
.period label { padding: 6px 16px; border-radius: var(--r-pill); font-size: var(--t2); cursor: pointer; color: var(--text-2); font-weight: 700; }
.period input:checked + label { background: var(--ink); color: var(--bg); }
.period input:focus-visible + label { outline: 3px solid var(--accent); }
.worked { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: baseline; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); padding: 16px 20px; margin: 0 0 24px; box-shadow: var(--lift-sm); }
.worked .k { font-size: var(--t1); font-weight: 800; color: var(--text-3); }
.worked .v { font-size: var(--t4); font-weight: 800; letter-spacing: -.01em; }
.worked .v + .k { grid-column: 1; }
.worked p { grid-column: 2; margin: 0; color: var(--text-2); font-size: var(--t2); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 24px 0 16px; }
.period + .plans { margin-top: 0; }
.plan { padding: 22px 20px; display: flex; flex-direction: column; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); box-shadow: var(--lift); }
.plan.is-pick { background: var(--surface-2); }
.plan h3 { margin-bottom: 4px; font-size: var(--t4); font-weight: 900; }
.plan .for { font-size: var(--t2); color: var(--text-2); min-height: 2.8em; margin-bottom: 8px; }
.price { margin: 0 0 14px; }
.amt { font-size: var(--t5); font-weight: 900; letter-spacing: -.03em; }
.price small { color: var(--text-3); font-size: var(--t2); margin-left: 4px; font-weight: 600; }
.py { display: none; }
body:has(#p-y:checked) .pm { display: none; }
body:has(#p-y:checked) .py { display: inline; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: var(--t2); color: var(--text-2); flex: 1; }
.plan li { padding: 5px 0; border-top: 1px solid var(--hair); }
.plan .btn { width: 100%; }

/* tables */
.table-wrap { overflow-x: auto; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); margin: 24px 0 12px; box-shadow: var(--lift); }
.grid { width: 100%; border-collapse: collapse; font-size: var(--t2); }
.grid th, .grid td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--hair); vertical-align: top; }
.grid tbody tr:last-child > * { border-bottom: 0; }
.grid thead th { font-size: var(--t1); font-weight: 800; color: var(--text); white-space: nowrap; background: var(--surface-2); border-bottom: var(--bw) solid var(--ink); }
.grid tbody th { font-weight: 800; }
.compare { min-width: 1180px; font-size: 13.5px; }
.compare td { min-width: 76px; }
.versus td, .versus thead th { width: 38%; }
.compare tbody th { white-space: nowrap; }
.compare .is-us, .versus thead th:nth-child(2) { background: var(--surface-2); }
.us { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 800; color: #121212; background: var(--mustard); border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 0 7px; vertical-align: 1px; }
.yes { color: var(--pos); font-weight: 900; }
.no { color: var(--text-3); }
.tool-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 20px; }
.tool { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.tool p { color: var(--text-2); font-size: var(--t2); margin-bottom: .5em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; padding: 16px 36px 16px 0; font-weight: 800; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 900; line-height: 1; background: var(--surface); }
.faq details[open] summary::after { content: "–"; background: var(--mustard); color: #121212; }
.faq p { color: var(--text-2); padding-bottom: 8px; }

/* the closing band and the 404 */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: center; }
.cta-grid .snf-wrap { width: 200px; justify-self: end; cursor: pointer; }
.band.cta .track input { background: #fff; color: #121212; border-color: #121212; }
.band.cta .track .btn { border-color: #121212; box-shadow: 3px 3px 0 #121212; }
.nf { display: grid; grid-template-columns: minmax(0, 560px) auto; gap: 40px; align-items: center; }
.nf .note .why { font-size: var(--t4); max-width: none; letter-spacing: 0; font-weight: 700; margin: 4px 0; }
.nf .snf-wrap { width: 180px; cursor: pointer; }
.nf .bubble { display: inline-block; margin: 8px 0 0; }
.nf .track { margin-top: 18px; }

/* Sniffington's chat (lib/ui/site/chat.js): a head on a sticker in the corner, a dialog in the sticker style */
.sc-root { position: fixed; right: 18px; bottom: 14px; z-index: 40; display: flex; align-items: flex-end; gap: 10px; pointer-events: none; }
.sc-launch { pointer-events: auto; appearance: none; width: 78px; height: 78px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--mustard);
             box-shadow: var(--lift); cursor: pointer; padding: 4px; display: grid; place-items: center; transform: translateY(130%); transition: transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.sc-launch .snf { width: 64px; height: 64px; }
.sc-root.is-ready .sc-launch { transform: translateY(18px); }
.sc-root.is-ready .sc-launch:hover, .sc-root.is-up .sc-launch, .sc-launch:focus-visible { transform: translateY(0) rotate(-4deg); }
.sc-root.is-tucked .sc-launch { transform: translateY(130%); }
.sc-bubble { pointer-events: auto; max-width: 250px; margin: 0 0 40px; cursor: pointer; }
.sc-bubble::after { left: auto; right: -11px; bottom: 16px; transform: rotate(-135deg) skew(10deg, 10deg); }
.sc-dlg { width: min(430px, calc(100vw - 24px)); max-height: min(680px, calc(100vh - 24px)); margin: auto 16px 16px auto; padding: 0; border: var(--bw) solid var(--ink);
          border-radius: 20px; background: var(--bg); color: var(--text); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.sc-dlg[open] { display: flex; flex-direction: column; }
.sc-dlg::backdrop { background: rgba(18, 18, 18, .28); }
.sc-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: var(--bw) solid var(--ink); background: var(--surface); }
.sc-mini { width: 44px; height: 44px; border-radius: 50%; background: var(--mustard); border: 2px solid var(--ink); display: grid; place-items: center; flex: none; }
.sc-mini .snf { width: 40px; height: 40px; }
.sc-title { display: flex; align-items: center; gap: 8px; font-size: var(--t3); flex: 1; }
.sc-title b { font-weight: 900; letter-spacing: -.02em; }
.sc-x { appearance: none; border: 2px solid var(--ink); background: var(--surface); color: var(--text); border-radius: 50%; width: 34px; height: 34px; font-size: 20px; line-height: 1; cursor: pointer; }
.sc-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.sc-m { max-width: 90%; padding: 9px 12px; border: 2px solid var(--ink); border-radius: 16px; font-size: var(--t2); line-height: 1.45; overflow-wrap: anywhere; }
.sc-his { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 4px; }
.sc-you { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.sc-wait { color: var(--text-3); font-family: var(--typed); }
.sc-src { margin: 6px 0 0; font-size: var(--t1); color: var(--text-3); }
.sc-card { max-width: 100%; display: grid; gap: 8px; }
.sc-card p { margin: 0; }
.sc-label { font-size: var(--t1); font-weight: 800; color: var(--text-3); margin-top: 4px !important; }
.sc-card .post, .sc-card .note { box-shadow: var(--lift-sm); padding: 10px 12px; }
.sc-card .note .why { font-size: 14px; padding-right: 84px; }
.sc-card .r-text a { color: inherit; text-decoration: none; }
.sc-card .r-text a:hover { text-decoration: underline; text-decoration-color: var(--mustard); }
.sc-cta { margin-top: 6px; justify-self: start; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.sc-chips:empty { display: none; }
.sc-chip { appearance: none; border: 2px solid var(--ink); background: var(--surface-2); color: var(--text); border-radius: var(--r-pill); padding: 4px 11px; font: 700 13px var(--font); cursor: pointer; }
.sc-chip:hover { background: var(--mustard); color: #121212; }
.sc-form { display: flex; gap: 8px; padding: 10px 12px; border-top: var(--bw) solid var(--ink); background: var(--surface); }
.sc-form input { flex: 1; min-width: 0; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 12px; font: 500 var(--t2) var(--font); background: var(--bg); color: var(--text); }
.sc-form .btn { min-height: 40px; }
.sc-note { margin: 0; padding: 0 12px 10px; font-size: 12px; color: var(--text-3); background: var(--surface); }
@media (max-width: 640px) {
  .sc-root { right: 12px; bottom: 10px; }
  .sc-launch { width: 62px; height: 62px; } .sc-launch .snf { width: 52px; height: 52px; }
  .sc-dlg { margin: auto 8px 8px; width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
}
@media (prefers-reduced-motion: reduce) { .sc-launch { transition: none; } }

/* Sniffington: a cream sticker edge so his outline reads on the dark canvas */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .snf-wrap svg { filter: drop-shadow(2px 0 0 #f3ead2) drop-shadow(-2px 0 0 #f3ead2) drop-shadow(0 2px 0 #f3ead2) drop-shadow(0 -2px 0 #f3ead2); } }
:root[data-theme="dark"] .snf-wrap svg { filter: drop-shadow(2px 0 0 #f3ead2) drop-shadow(-2px 0 0 #f3ead2) drop-shadow(0 2px 0 #f3ead2) drop-shadow(0 -2px 0 #f3ead2); }

@media (prefers-reduced-motion: reduce) { .btn, .pulse { transition: none; animation: none; } }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .split, .editions, .tool-list, .sources, .cta-grid, .nf { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sources { gap: 0; }
  .stage { min-height: 500px; max-width: 520px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .uses { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .af-cols { grid-template-columns: minmax(0, 1fr); }
  .af-scan { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .cta-grid .snf-wrap { justify-self: start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 36px; }
  .band { padding: 52px 0; }
  .track { flex-direction: column; }
  .nav-signin { display: none; }
  .nav-in { gap: 12px; }
  .logo .tld { display: none; }
  .stage { min-height: 560px; }
  .stage { min-height: 640px; }
  .stage .sticker { width: 92%; }
  .stage .s1 { right: 0; } .stage .s2 { top: 180px; right: 8%; } .stage .s3 { top: 360px; right: 0; }
  .stage .snf-wrap { width: 132px; bottom: -24px; }
  .stage .bubble { left: 128px; bottom: 30px; max-width: 170px; font-size: 14px; }
  .stage .bubble::after { left: -11px; bottom: 16px; transform: rotate(45deg) skew(10deg, 10deg); }
  .steps, .uses, .plans { grid-template-columns: minmax(0, 1fr); }
  .af-cols { padding: 16px; }
  .af-brand { display: none; }
  .sources li { grid-template-columns: 22px 1fr auto; }
  .s-how { grid-column: 2 / -1; grid-row: 2; font-size: var(--t1); margin-top: -6px; }
  .foot-in { grid-template-columns: 1fr; }
  .worked { grid-template-columns: minmax(0, 1fr); } .worked p, .worked .v + .k { grid-column: 1; }
}

/* ---- the Red Herring's scene (lib/ui/site/herring-scene.js): bottom-left, once per visitor */
.rh-scene { position: fixed; left: 16px; bottom: 16px; z-index: 39; width: min(360px, calc(100vw - 32px)); background: var(--surface); color: var(--text);
  border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--lift); padding: 12px 14px 14px; margin: 0;
  transform: translateY(calc(100% + 40px)); transition: transform .45s cubic-bezier(.2, .9, .3, 1.15), opacity .3s; }
.rh-scene[data-step] { transform: none; }
.rh-scene.is-gone { transform: translateY(calc(100% + 40px)); opacity: 0; }
.rh-x { position: absolute; top: 4px; right: 8px; z-index: 3; appearance: none; border: 0; background: none; color: var(--text-2); font: 400 24px/1 var(--font); padding: 4px 6px; cursor: pointer; }
.rh-x:hover { color: var(--text); }
.rh-stage { position: relative; height: 236px; }
.rh-label { margin: 0; font: 800 11px/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.rh-feed { position: absolute; top: 24px; left: 0; right: 64px; display: grid; gap: 8px; perspective: 600px; }
.rh-post { background: var(--surface); border: 2px solid var(--ink); border-radius: 8px; padding: 7px 10px; display: grid; gap: 1px; margin: 0; }
.rh-post b { font: 700 13.5px/1.3 var(--font); }
.rh-post span, .rh-meta { font: 400 12px/1.3 var(--font); color: var(--text-3); }
.rh-slot { position: relative; min-height: 60px; }
.rh-fake { background: color-mix(in srgb, var(--pink) 35%, var(--surface)); opacity: 0; transform: translate(130px, 70px) rotate(10deg);
  transition: transform .6s cubic-bezier(.2, .9, .3, 1.2), opacity .3s; backface-visibility: hidden; }
.rh-note { position: absolute; inset: 0; margin: 0; background: var(--note); border: 2px solid var(--ink); border-radius: 6px; padding: 7px 10px; display: grid; align-content: start; gap: 2px;
  opacity: 0; transform: rotateX(-90deg); transform-origin: 50% 0; transition: transform .45s ease-out .2s, opacity .1s .2s; }
.rh-note .rh-meta { padding-right: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-note .why { font: 400 14px/1.35 var(--typed); margin: 0; padding: 0; }
.rh-note .stamp { top: -11px; right: 8px; font-size: 11px; opacity: 0; background: var(--note); }
.rh-scene[data-step="3"] .rh-fake, .rh-scene[data-step="4"] .rh-fake { opacity: 1; transform: none; }
.rh-scene[data-step="5"] .rh-fake, .rh-scene[data-step="6"] .rh-fake, .rh-scene[data-step="7"] .rh-fake { opacity: 0; transform: rotateX(90deg); transition: transform .2s ease-in, opacity .1s .15s; }
.rh-scene[data-step="5"] .rh-note, .rh-scene[data-step="6"] .rh-note, .rh-scene[data-step="7"] .rh-note { opacity: 1; transform: none; }
.rh-scene[data-step="5"] .rh-note .stamp, .rh-scene[data-step="6"] .rh-note .stamp, .rh-scene[data-step="7"] .rh-note .stamp { opacity: 1; animation: rh-thud .35s ease-out .55s backwards; }
@keyframes rh-thud { 0% { transform: rotate(-6deg) scale(2.2); opacity: 0; } 60% { transform: rotate(-6deg) scale(.9); opacity: 1; } 100% { transform: rotate(-6deg) scale(1); } }
.rh-dog { position: absolute; top: 20px; right: 0; width: 60px; transform: scale(0) rotate(-20deg); transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.rh-dog .snf { display: block; width: 58px; height: 58px; }
.rh-scene[data-step="4"] .rh-dog, .rh-scene[data-step="5"] .rh-dog, .rh-scene[data-step="6"] .rh-dog, .rh-scene[data-step="7"] .rh-dog { transform: none; }
.rh-say { position: absolute; left: 2px; bottom: 16px; max-width: 182px; margin: 0; font-size: 13.5px; padding: 8px 12px; opacity: 0; transform: translateY(8px) scale(.92); transition: opacity .2s, transform .2s; }
.rh-say::after { left: auto; right: -11px; bottom: 14px; transform: rotate(-135deg) skew(10deg, 10deg); }
.rh-scene[data-step="2"] .rh-say, .rh-scene[data-step="3"] .rh-say, .rh-scene[data-step="4"] .rh-say, .rh-scene[data-step="6"] .rh-say, .rh-scene[data-step="7"] .rh-say { opacity: 1; transform: none; }
.rh-fish { position: absolute; right: -8px; bottom: -16px; width: 116px; line-height: 0; transform: translateX(-360px); transition: transform 1.4s linear; }
.rh-fish .rh { display: block; }
.rh-scene[data-step="2"] .rh-fish, .rh-scene[data-step="3"] .rh-fish, .rh-scene[data-step="4"] .rh-fish, .rh-scene[data-step="5"] .rh-fish { transform: none; }
.rh-scene[data-step="6"] .rh-fish, .rh-scene[data-step="7"] .rh-fish { transform: translate(6px, 10px) rotate(10deg); transition: transform .5s ease-in; }
.rh-end { display: grid; gap: 10px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease-out, opacity .3s .1s; }
.rh-scene[data-step="7"] .rh-end { max-height: 140px; opacity: 1; padding-top: 10px; }
.rh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rh-cta .btn { min-height: 38px; }
@media (max-width: 640px) {
  .rh-scene { right: 16px; width: auto; }
  .rh-on .sc-root { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .rh-scene, .rh-scene * { transition: none !important; animation: none !important; } }

/* ---- 404: the Red Herring, caught */
.nf-rh { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; }
.nf-rh .rh { flex: none; width: 104px; height: 104px; }
.nf-rh .bubble { font-size: 14px; }
.nf-rh .bubble::after { left: -11px; }

/* ---- the free social listening tool (/free-social-listening-tool) */
.eyebrow { display: inline-block; font: 800 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 7px 12px; background: var(--surface); margin: 0 0 16px; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: center; }
.tool-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 22px; }
.tool-form input { min-width: 0; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--surface); color: var(--text); padding: 13px 14px; font: 400 var(--t3) var(--font); }
.tool-form input:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.tool-form #tool-line { grid-column: 1; grid-row: 2; font-size: var(--t2); }
.tool-form button { grid-column: 2; grid-row: 1 / span 2; }
.tool-form button[disabled] { opacity: .75; cursor: progress; }
.tool-hero .fine { margin-top: 10px; }
.tool-side { display: grid; justify-items: center; gap: 12px; }
.tool-side .snf-wrap { width: 200px; }
.tool-side .bubble { font-size: 14.5px; }
.tool-side .bubble::after { left: 50%; top: -11px; bottom: auto; transform: translateX(-50%) rotate(135deg) skew(10deg, 10deg); }
.tool-out { max-width: 760px; margin: 28px auto 0; scroll-margin-top: 90px; }
.tool-out:empty { display: none; }
.tool-card { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--lift); padding: 18px 20px; gap: 12px; }
.tool-card .sc-cta { justify-self: start; }
@media (max-width: 860px) {
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-side { grid-row: 1; grid-auto-flow: column; justify-content: start; align-items: center; }
  .tool-side .snf-wrap { width: 96px; }
  .tool-side .bubble::after { left: -11px; top: auto; bottom: 16px; transform: rotate(45deg) skew(10deg, 10deg); }
}
@media (max-width: 560px) {
  .tool-form { grid-template-columns: minmax(0, 1fr); }
  .tool-form #tool-line, .tool-form button { grid-column: 1; grid-row: auto; }
}
