/* askbento.ai — one stylesheet for every page. Colours from the mark (brand/README.md). */
:root { --ground:#1E1B17; --bone:#F2EBE0; --red:#BE3A2B; --red-dark:#9c2f22; --muted:#6b645b;
  --card:#FBF7F1; --line:#d9cfc0; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bone); color:var(--ground);
  font:17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
img { max-width:100%; }
a { color:var(--red); }
.wrap { max-width:1080px; margin:0 auto; padding:0 16px; }
.wrap.narrow, .page .wrap { max-width:760px; }

/* Header */
header.site { background:var(--ground); color:var(--bone); }
header.site .wrap { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:12px; padding-bottom:12px; }
.brand { display:flex; align-items:center; gap:12px; color:var(--bone); text-decoration:none; font-weight:700; font-size:20px; }
.brand img { width:40px; height:40px; border-radius:9px; }
header.site nav { display:flex; align-items:center; gap:18px; }
header.site nav a { color:var(--bone); text-decoration:none; font-weight:600; }

/* Buttons */
.button { display:inline-block; background:var(--red); color:#fff; border:0; border-radius:8px;
  padding:12px 22px; font:inherit; font-weight:700; text-decoration:none; cursor:pointer; }
.button:hover { background:var(--red-dark); }
.button.ghost { background:transparent; color:var(--ground); box-shadow:inset 0 0 0 2px var(--ground); }
.button.ghost:hover { background:var(--ground); color:var(--bone); }
header.site nav .button.small { padding:7px 14px; font-size:15px; color:#fff; }

/* Sections */
section { padding:64px 0; }
section:nth-of-type(even) { background:var(--card); }
h1 { font-size:42px; line-height:1.15; margin:0 0 16px; letter-spacing:-0.5px; }
h2 { font-size:30px; line-height:1.2; margin:0 0 16px; }
h3 { font-size:19px; margin:0 0 6px; }
.lead { font-size:20px; color:#3a352f; }

/* Hero */
.hero-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; }
.ctas { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0 12px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin:0; }
.chips span { font-size:14px; color:var(--muted); }
.chips span + span::before { content:"·"; margin-right:8px; }

/* The example chat (not Slack's look on purpose: no Slack name or logo) */
.chat { margin:0; background:#fff; border-radius:14px; box-shadow:0 12px 40px rgba(30,27,23,.15); overflow:hidden; font-size:15px; }
.chat-bar { background:var(--ground); color:var(--bone); padding:10px 16px; font-weight:700; }
.msg { display:flex; gap:10px; padding:14px 16px 4px; }
.msg .who { flex:none; width:36px; height:36px; border-radius:8px; color:#fff; font-weight:700;
  display:flex; align-items:center; justify-content:center; }
.msg p { margin:4px 0 8px; }
.msg small { color:var(--muted); }
.msg .source { display:inline-block; font-size:13px; background:var(--bone); border-radius:6px; padding:3px 8px; color:var(--ground); }
.chat .msg:last-child { padding-bottom:14px; }

/* Benefits */
.cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; margin-top:24px; }
.cards article { background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px 22px; }
.cards article p { margin:0; color:#3a352f; }

/* How it works */
.steps { list-style:none; counter-reset:step; padding:0; margin:24px 0; display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.steps li { counter-increment:step; }
.steps li::before { content:counter(step); display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%; background:var(--red); color:#fff; font-weight:700; margin-bottom:10px; }
.note { color:var(--muted); }

/* Forms */
.lead-form { display:grid; gap:14px; margin-top:20px; }
.lead-form .row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.lead-form label { display:block; font-weight:600; font-size:15px; min-width:0; }
.lead-form input, .lead-form textarea { display:block; width:100%; margin-top:4px; font:inherit; font-weight:400; padding:10px 12px; border:1px solid var(--line);
  border-radius:8px; background:#fff; color:var(--ground); }
.lead-form input:focus, .lead-form textarea:focus { outline:2px solid var(--red); outline-offset:1px; }
.lead-form .opt { font-weight:400; color:var(--muted); }
.lead-form button { justify-self:start; }
.form-status { margin:0; min-height:1.6em; }
.form-status.error { color:var(--red); }
.hp { position:absolute; left:-9999px; }

/* Plain pages (privacy, terms) */
.page main { padding:32px 0 48px; }
.page h1 { font-size:34px; }
.page h2 { font-size:22px; margin:32px 0 8px; }
.date { color:var(--muted); font-style:italic; }

footer { border-top:1px solid var(--line); padding:20px 0 40px; color:var(--muted); font-size:15px; }

@media (max-width: 820px) {
  h1 { font-size:32px; } h2 { font-size:25px; }
  section { padding:44px 0; }
  .hero-grid, .cards, .steps { grid-template-columns:1fr; gap:24px; }
  .lead-form .row { grid-template-columns:1fr; }
  header.site nav a:not(.button) { display:none; }
}

/* The demo library */
.library-head { padding-bottom:16px; }
.library { padding-top:16px; background:var(--bone) !important; }
.demo-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:20px 22px; color:var(--ground); text-decoration:none; transition:box-shadow .15s, transform .15s; }
.demo-card:hover { box-shadow:0 8px 24px rgba(30,27,23,.12); transform:translateY(-2px); }
.demo-card p { flex:1; margin:0 0 14px; color:#3a352f; }
.demo-card .run { color:var(--red); font-weight:700; }

/* The sign-up gate (gate.js) */
body.gated { overflow:hidden; }
.gate { position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; padding:16px;
  background:rgba(30,27,23,.55); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); overflow:auto; }
.gate-box { background:var(--bone); border-radius:16px; padding:28px; width:100%; max-width:480px; box-shadow:0 20px 60px rgba(0,0,0,.35); }
.gate-box img { border-radius:12px; display:block; }
.gate-box h2 { margin:12px 0 6px; font-size:26px; }
.gate-box > p { margin:0; color:#3a352f; }
.gate .fine { font-size:13px; color:var(--muted); margin:0; }
