/* Butters marketing site. Shares the app's palette so the site and product feel like one thing. */

/* Bricolage Grotesque (SIL Open Font License), self-hosted rather than linked from Google Fonts,
   which would hand every visitor's IP address to Google before they have read a word. Latin
   subset only, variable 600-800: the site sets headings and nothing else in it. */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:600 800;font-display:swap;
  src:url(/fonts/bricolage-grotesque-latin.woff2) format("woff2")}
:root{
  --cream:#FFF8E7; --cream-deep:#F6EDDA; --ink:#2A1E12; --ink-soft:#7A6A55;
  --butter-100:#FEF3C7; --butter-200:#FCE79B; --butter-400:#F2B33D; --butter-500:#E29E22;
  --butter-700:#8F5E16; --white:#fff;
  --ink-faint:#9a8a70; --fix:#1c6b33; --fix-bg:#eaf6ec; --pain:#9b3322; --pain-bg:#fbece8;
  --display:"Bricolage Grotesque",-apple-system,system-ui,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--cream); color:var(--ink);
  font:400 18px/1.65 -apple-system,"SF Pro Text",system-ui,"Helvetica Neue",sans-serif;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:760px;margin:0 auto;padding:0 24px}
a{color:var(--butter-700)}
header.site{border-bottom:1px solid var(--cream-deep);background:var(--cream);position:sticky;top:0;z-index:10}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;padding-top:18px;padding-bottom:18px}
.brand{font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:-.02em;text-decoration:none;color:var(--ink)}
.nav a{margin-left:22px;text-decoration:none;font-weight:600;font-size:16px;color:var(--ink-soft)}
.nav a:hover{color:var(--ink)}
.nav a.open{background:var(--ink);color:var(--cream);padding:9px 16px;border-radius:999px}
.nav a.open:hover{color:var(--cream);opacity:.9}
@media (max-width:420px){.nav a{margin-left:14px;font-size:15px}}
@media (max-width:360px){.brand{font-size:19px} .nav a{margin-left:10px} .nav a.open{padding:8px 12px}}
.btn{display:inline-block;background:var(--butter-400);color:var(--ink);font-weight:700;
  padding:14px 26px;border-radius:999px;text-decoration:none}
.btn:hover{background:var(--butter-500)}
.btn.ghost{background:transparent;border:1.5px solid var(--cream-deep);color:var(--ink-soft)}
.hero{padding:88px 0 64px;text-align:center}
.hero h1{font-size:clamp(38px,6vw,60px);line-height:1.05;letter-spacing:-.035em;font-weight:800;text-wrap:balance}
.hero p.lede{margin:22px auto 0;max-width:34em;font-size:21px;color:var(--ink-soft)}
.hero .cta{margin-top:34px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
section{padding:56px 0;border-top:1px solid var(--cream-deep)}
h1,h2,h3{font-family:var(--display)}
h2{font-size:clamp(26px,4vw,34px);line-height:1.15;letter-spacing:-.025em;font-weight:800;margin-bottom:10px;text-wrap:balance}
h3{font-size:21px;font-weight:700;margin:32px 0 8px;letter-spacing:-.01em}
p{margin:14px 0}
ul,ol{margin:14px 0 14px 24px}
li{margin:7px 0}
.grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin-top:26px}
.card{background:var(--white);border:1px solid var(--cream-deep);border-radius:16px;padding:22px}
.card h3{margin:0 0 6px;font-size:18px}
.card p{margin:0;font-size:16px;color:var(--ink-soft)}
blockquote{border-left:3px solid var(--butter-400);background:var(--butter-100);
  padding:16px 20px;border-radius:0 12px 12px 0;margin:22px 0}
blockquote p{margin:0}
.meta{color:var(--ink-soft);font-size:15px}
article h1{font-size:clamp(32px,5vw,46px);line-height:1.1;letter-spacing:-.03em;font-weight:800;text-wrap:balance}
article{padding:56px 0}
.postlist{list-style:none;margin:26px 0 0}
.postlist li{margin:0 0 14px}
.postlist a{display:block;background:var(--white);border:1px solid var(--cream-deep);
  border-radius:16px;padding:22px;text-decoration:none;color:var(--ink)}
.postlist a:hover{border-color:var(--butter-400)}
.postlist strong{display:block;font-size:19px;margin-bottom:4px;letter-spacing:-.01em}
.postlist span{color:var(--ink-soft);font-size:16px}
footer.site{border-top:1px solid var(--cream-deep);padding:40px 0;color:var(--ink-soft);font-size:15px}
footer.site a{margin-right:18px}
@media (max-width:600px){ body{font-size:17px} .hero{padding:56px 0 44px} }

/* Email signup */
.signup{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;max-width:520px}
.signup input[type=email]{flex:1;min-width:240px;border:1.5px solid var(--cream-deep);background:var(--white);
  border-radius:999px;padding:14px 20px;font:inherit;font-size:17px;color:var(--ink);outline:none}
.signup input[type=email]:focus{border-color:var(--butter-400)}
.signup input[type=email]::placeholder{color:var(--ink-soft);opacity:.7}
.signup button{border:none;cursor:pointer;font:inherit;font-size:17px}
/* Honeypot: present for bots, invisible and unreachable for people. */
.signup input[name=company]{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
#leadmsg{margin-top:12px;min-height:1.4em}

/* ---------- Home page ----------
   Scoped under .home so the blog keeps its 760px reading column. The home page lays things out
   across the width (hero with a phone, two-card grid, a six-column table), which a reading cap
   would squeeze into 186px cells. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.home .wrap{max-width:1080px}
.home .hero{text-align:left;padding:64px 0 56px}
.home .hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.home .hero h1{font-size:clamp(40px,6vw,64px);line-height:1.02;letter-spacing:-.03em}
.home .hero p.lede{margin:18px 0 0;max-width:34ch;font-size:20px}
.home .hero .cta{justify-content:flex-start;margin-top:28px}
.home .btn.ghost{border:2px solid var(--ink);color:var(--ink)}
.home .btn.ghost:hover{background:var(--ink);color:var(--cream)}
.platforms{margin:18px 0 0;font-size:14px;color:var(--ink-soft)}
.home h2{font-size:clamp(32px,4.4vw,48px);line-height:1.05;letter-spacing:-.03em}
.home .sub{margin:10px 0 0;color:var(--ink-soft);max-width:56ch}

/* App-preview pieces: the phone, and the mini rows inside the back-of-house cards. */
.phone{width:100%;max-width:330px;justify-self:center;background:var(--white);border-radius:36px;padding:14px;
  box-shadow:0 30px 60px -30px rgba(42,30,18,.45),0 0 0 1px var(--cream-deep)}
.phone .screen{background:#fefad7;border-radius:26px;overflow:hidden}
.phone .bar{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 10px;border-bottom:1px solid #f2e9b8}
.phone .bar b{font:800 18px/1 var(--display);color:#7d6405}
.pill{font-size:11px;font-weight:700;padding:4px 9px;border-radius:999px;background:var(--white)}
.phone .body{padding:12px;display:grid;gap:9px}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-soft)}
.row{background:var(--white);border-radius:14px;padding:10px 12px;display:flex;gap:10px;align-items:center;font-size:13.5px;line-height:1.35}
.row small{display:block;color:var(--ink-soft);font-size:11.5px}
.row .grow{flex:1}
.tick{width:22px;height:22px;border-radius:11px;flex-shrink:0;border:2px solid #e8d9b0}
.tick.on{background:var(--butter-400);border-color:var(--butter-400)}
.thumb{width:34px;height:34px;border-radius:8px;flex-shrink:0;background:linear-gradient(135deg,#c9a46b,#8a6a3c)}
.snip{display:grid;gap:8px;background:#fefad7;border-radius:16px;padding:12px}

/* Before and after: one line each, the old habit faded, the Butters answer in the display face. */
.changes{list-style:none;margin:28px 0 0}
.changes li{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:baseline;margin:0;padding:18px 0;border-top:1px solid var(--cream-deep)}
.changes li:last-child{border-bottom:1px solid var(--cream-deep)}
.changes .was{color:var(--ink-faint);font-size:17px}
.changes .to{color:var(--butter-400);font-weight:800}
.changes .now{font:700 20px/1.3 var(--display);letter-spacing:-.01em}
.soon{display:inline-block;font:800 11px/1 -apple-system,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em;
  padding:4px 8px;border-radius:999px;background:var(--butter-100);color:var(--butter-700);vertical-align:3px;margin-left:8px}

/* Back of house */
.boh-grid{margin-top:28px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.boh-card{background:var(--white);border-radius:20px;padding:24px;border:1px solid var(--cream-deep);display:grid;gap:10px;align-content:start}
.boh-card h3{margin:0;font-size:24px;font-weight:800;line-height:1.15}
.boh-card p{margin:0;color:var(--ink-soft);font-size:17px}
.st{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;padding:3px 8px;border-radius:999px}
.st.low{background:var(--pain-bg);color:var(--pain)}
.st.ord{background:var(--butter-100);color:var(--butter-700)}
.st.ok{background:var(--fix-bg);color:var(--fix)}

/* Comparison table: the only thing on the page allowed to scroll sideways, inside its own box. */
.table-wrap{margin-top:28px;overflow-x:auto;max-width:100%;border-radius:18px;border:1px solid var(--cream-deep);background:var(--white)}
table{border-collapse:collapse;width:100%;min-width:720px;font-size:15px}
th,td{padding:14px 16px;text-align:center;border-bottom:1px solid var(--cream-deep)}
tbody th{text-align:left;font-weight:400}
thead th{font:800 16px/1.2 var(--display);background:var(--cream-deep)}
thead th:first-child{text-align:left}
thead th.us{background:var(--butter-400)}
td.us{background:#fffaeb}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}
td small{display:block;font-size:11.5px;font-weight:600;margin-top:2px}
.y{color:var(--fix);font-weight:800}
td.y,td.n,td.p{font-size:18px}
.n{color:#b3a48c}
.p{color:var(--butter-700);font-weight:700}
.fine{margin:12px 0 0;font-size:13px;color:var(--ink-soft)}

/* Sign-up card */
.signup-card{background:var(--ink);color:var(--cream);border-radius:20px;padding:28px}
.signup-card h2{font-size:34px;margin:0}
.signup-card p{color:#e6d9bf;margin:10px 0 0}
.signup-card .signup input[type=email]{border-color:transparent}
.signup-card #leadmsg{color:var(--butter-400)}

/* Four things do not fit in a 390px header. Compare goes first: the hero's own "See how it
   compares" button already reaches the table, and Open Butters must never wrap. */
.nav a.open{white-space:nowrap}
@media (max-width:560px){.home .nav a[href="#compare"]{display:none}}

@media (max-width:820px){
  .home .hero .wrap{grid-template-columns:1fr;gap:36px}
  .boh-grid{grid-template-columns:1fr}
  .changes li{grid-template-columns:1fr;gap:2px}
  .changes .to{display:none}
}
