/* BizLift — OFFICE 365 / MICROSOFT FLUENT THEME (blog-style)
   Canvas #f5f5f5, white content cards, Fluent blue #0f6cbd, Segoe UI,
   article-first typography (blog layout), fluent depth shadows.
   Same class API as style.css — this is the default sitewide theme. */
:root {
  --bg: #f5f5f5;
  --bg-soft: #eaeaea;
  --card: #ffffff;
  --border: #e1dfdd;
  --border-strong: #c8c6c4;
  --text: #201f1e;
  --muted: #605e5c;
  --accent: #0f6cbd;          /* Fluent primary */
  --accent-hover: #115ea3;
  --accent-soft: #eff6fc;
  --accent-dim: #0f6cbd;
  --warn: #c2410c;
  --ok: #107c10;              /* Fluent success green */
  --shadow-1: 0 1px 2px rgba(0,0,0,.10);
  --shadow-2: 0 1.6px 3.6px rgba(0,0,0,.13);
  --shadow-3: 0 6.4px 14.4px rgba(0,0,0,.14);
  --radius: 4px;              /* Fluent corner radius */
  --max: 1120px;
  --measure: 72ch;            /* blog reading measure */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', 'Selawik', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent-hover); }
code, .mono { font-family: 'Cascadia Mono', Consolas, monospace; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: 64px 0; }
.section-alt { background: #efefef; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); }

/* --- Fluent top nav --- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.nav { display: flex; align-items: center; justify-content: space-between;
  height: 60px; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.logo { font-weight: 700; font-size: 1.22rem; color: var(--text); letter-spacing: -.01em; }
.logo b { color: var(--accent); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 600; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links a.cta { background: var(--accent); color: #fff; padding: 8px 16px;
  border-radius: var(--radius); font-weight: 600; box-shadow: var(--shadow-1); }
.nav-links a.cta:hover { background: var(--accent-hover); }

/* --- hero: light, blog-editorial --- */
.hero { padding: 80px 0 64px; background:
  linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.hero-inner { position: relative; }
.badge { display: inline-block; border: 1px solid var(--accent);
  color: var(--accent); background: var(--accent-soft); font-size: .78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
  letter-spacing: .04em; text-transform: uppercase; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.2;
  font-weight: 700; letter-spacing: -.02em; max-width: 820px; color: var(--text); }
h1 .hl { color: var(--accent); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin-top: 14px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: .96rem; border: 1px solid transparent;
  cursor: pointer; transition: background .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* --- cards: white on grey, fluent depth --- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); }
.card h3 { margin-bottom: 8px; font-size: 1.05rem; font-weight: 700; }
.card p { color: var(--muted); font-size: .93rem; }
.card .icon { font-size: 1.55rem; margin-bottom: 10px; display: block; }
.price-tag { font-size: 1.9rem; font-weight: 700; color: var(--accent); margin: 10px 0 4px; }
.price-tag span { font-size: .92rem; color: var(--muted); font-weight: 500; }
.card ul { list-style: none; margin-top: 12px; }
.card ul li { padding: 5px 0 5px 24px; position: relative; color: var(--muted); font-size: .92rem; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.card.featured { border-color: var(--accent); box-shadow: var(--shadow-2); }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--accent); background: var(--accent-soft);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 700; letter-spacing: -.01em; }
h2 .hl { color: var(--accent); }
.sub { color: var(--muted); margin-top: 8px; max-width: 680px; }

table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: .92rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .04em; background: var(--bg-soft); }
td strong { color: var(--accent); }
tr:hover td { background: var(--accent-soft); }

/* --- FAQ accordions --- */
details.qa { background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
  box-shadow: var(--shadow-1); }
details.qa summary { cursor: pointer; padding: 16px 20px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; flex-shrink: 0; }
details.qa[open] summary::after { content: "–"; }
details.qa .qa-body { padding: 0 20px 18px; color: var(--muted); font-size: .94rem; }

/* --- BLOG-STYLE ARTICLES (the "blog pages style") --- */
article.post { max-width: var(--measure); font-size: 1.04rem; }
article.post h1 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); line-height: 1.25; }
article.post .meta { color: var(--muted); font-size: .88rem; margin: 10px 0 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border); }
article.post h2 { font-size: 1.3rem; margin: 32px 0 10px; }
article.post p { color: #323130; margin-bottom: 15px; line-height: 1.75; }
article.post ul, article.post ol { margin: 0 0 15px 22px; color: #323130; line-height: 1.7; }
article.post li { margin-bottom: 7px; }
article.post strong { color: var(--text); }
.post-sep { border: 0; border-top: 1px solid var(--border); margin: 56px 0; }

/* --- video samples --- */
video.sample { width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  background: #000; display: block; box-shadow: var(--shadow-1); }
.script-box { background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; margin-top: 12px;
  font-size: .85rem; color: var(--muted); white-space: pre-wrap; }

/* --- forms (fluent inputs) --- */
form.lead { display: grid; gap: 13px; }
.field label { display: block; font-size: .84rem; color: var(--muted);
  margin-bottom: 5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border-radius: var(--radius);
  border: 1px solid var(--border-strong); background: #fff;
  color: var(--text); font-size: .95rem; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.form-note { font-size: .8rem; color: var(--muted); }
.form-msg { display: none; padding: 11px 14px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; }
.form-msg.ok { display: block; background: #dff6dd; color: var(--ok); border: 1px solid #a4d4a4; }
.form-msg.err { display: block; background: #fde7e9; color: var(--warn); border: 1px solid #f1aeb5; }

/* --- chat widget --- */
#chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 1.45rem;
  box-shadow: var(--shadow-3); }
#chat-fab:hover { background: var(--accent-hover); }
#chat-panel { position: fixed; right: 22px; bottom: 90px; z-index: 90;
  width: min(370px, calc(100vw - 44px)); height: 470px; display: none;
  flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-3); }
#chat-panel.open { display: flex; }
.chat-head { background: var(--accent); color: #fff; border-bottom: 1px solid var(--accent-hover);
  padding: 12px 16px; font-weight: 600; font-size: .92rem;
  display: flex; justify-content: space-between; align-items: center; }
.chat-head span small { display: block; font-weight: 500; color: #c7e0f5; font-size: .74rem; }
.chat-close { background: none; border: none; color: #fff; opacity: .85;
  font-size: 1.25rem; cursor: pointer; }
#chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex;
  flex-direction: column; gap: 10px; background: var(--bg); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 10px;
  font-size: .88rem; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { background: #fff; border: 1px solid var(--border);
  align-self: flex-start; border-bottom-left-radius: 3px; box-shadow: var(--shadow-1); }
.msg.user { background: var(--accent); color: #fff; align-self: flex-end;
  border-bottom-right-radius: 3px; font-weight: 500; }
.chat-input { display: flex; border-top: 1px solid var(--border); }
#chat-text { flex: 1; border: none; background: #fff; color: var(--text);
  padding: 13px 14px; font-size: .9rem; font-family: inherit; }
#chat-text:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
#chat-send { border: none; background: var(--accent); color: #fff;
  font-weight: 700; padding: 0 18px; cursor: pointer; }
#chat-send:hover { background: var(--accent-hover); }

/* --- footer --- */
footer.site { border-top: 1px solid var(--border); background: #fff; color: var(--muted);
  padding: 40px 0 26px; font-size: .88rem; }
footer.site .cols { display: flex; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin-bottom: 24px; }
footer.site a { color: var(--muted); display: block; padding: 3px 0; }
footer.site a:hover { color: var(--accent); }
footer.site .fine { border-top: 1px solid var(--border); padding-top: 16px;
  font-size: .78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* --- misc --- */
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.stat b { display: block; font-size: 1.8rem; color: var(--accent); font-weight: 700; }
.stat span { color: var(--muted); font-size: .85rem; }
.pill-list { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }
.pill { border: 1px solid var(--border-strong); color: var(--muted); background: #fff;
  padding: 5px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.pill:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.checklist { list-style: none; margin-top: 10px; }
.checklist li { padding: 5px 0 5px 24px; position: relative; color: #323130; font-size: .94rem; }
.checklist li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* --- responsive split layouts --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* --- accessibility: skip link --- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px;
  font-weight: 700; border-radius: 0 0 var(--radius) var(--radius); }
.skip-link:focus { left: 0; }

/* --- variant banner (previews) --- */
.variant-banner { background: #0078d4; color: #fff; text-align: center;
  padding: 10px 16px; font-size: .85rem; font-weight: 600; }
.variant-banner a { color: #fff; text-decoration: underline; }
