/* Barkeep site — clean, responsive, light/dark. No frameworks, no trackers except AdSense. */
:root {
  --bg: #ffffff;
  --panel: #f4f5f7;
  --text: #1c1e23;
  --muted: #5a606b;
  --line: #e3e5ea;
  --accent: #2f6df6;
  --radius: 14px;
  --max: 860px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181d;
    --panel: #1f2229;
    --text: #eceef2;
    --muted: #9aa1ad;
    --line: #2b2f38;
    --accent: #5b8cff;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(160deg, #3a3f4b, #14161c);
  display: grid; place-items: center; color: #fff; font-size: 15px;
}
nav a { color: var(--muted); margin-left: 18px; font-size: 15px; }

/* Hero */
.hero { text-align: center; padding: 64px 0 40px; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); margin: 0 0 12px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 600;
  padding: 13px 26px; border-radius: 10px; font-size: 16px;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.sub { color: var(--muted); font-size: 13px; margin-top: 12px; }

.shot {
  margin: 36px auto 0; max-width: 720px; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; background: var(--panel);
}
.shot img { display: block; width: 100%; height: auto; }

/* Looping demo. The clip is a very wide, short strip (it's a menu bar), so it's framed
   inside a "top of a screen" bezel to give it presence rather than floating thin. */
.demo { margin: 40px auto 0; max-width: 760px; }
.demo-frame {
  background: linear-gradient(180deg, #2a2e37, #191c22);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 10px 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  overflow: hidden;
}
.demo-video {
  display: block; width: 100%; height: auto;
  border-radius: 7px 7px 0 0;
}
.demo figcaption {
  margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center;
}

/* Sections */
section { padding: 40px 0; }
h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 18px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Ad slot — a styled placeholder until AdSense units are pasted in.
   Keep the label; AdSense requires ads not be misleadingly styled as content. */
.ad-slot {
  margin: 32px auto; max-width: 728px; min-height: 90px;
  display: grid; place-items: center;
  border: 1px dashed var(--line); border-radius: 10px;
  color: var(--muted); font-size: 12px; background: var(--panel);
}
.ad-label { text-align: center; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 24px 0 4px; }

/* Article */
article { max-width: 720px; margin: 0 auto; }
article h2 { margin-top: 34px; }
article h3 { margin-top: 24px; font-size: 19px; }
article p, article li { color: var(--text); }
article .muted { color: var(--muted); }
blockquote { border-left: 3px solid var(--accent); margin: 18px 0; padding: 4px 0 4px 16px; color: var(--muted); }
code { background: var(--panel); padding: 2px 6px; border-radius: 5px; font-size: 14px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
footer.site a { color: var(--muted); }
