/* LzyReply docs — light, minimal, two-column (modeled on Fernand). */
:root {
  --bg: #ffffff;
  --sidebar-bg: #fafbfb;
  --border: #e7e9eb;
  --text: #1f2326;
  --text-subdued: #6d7175;
  --accent: #008060;
  --accent-soft: #e6f4ef;
  --code-bg: #f5f6f7;
  --maxw: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* header */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 18px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.topbar .brand { font-weight: 800; font-size: 17px; color: var(--text); }
.topbar .brand .dot { color: var(--accent); }
.topbar .spacer { flex: 1; }
.topbar a.toplink { color: var(--text-subdued); font-size: 14px; font-weight: 600; }
.topbar a.toplink:hover { color: var(--text); text-decoration: none; }
.topbar .cta {
  background: var(--accent); color: #fff; padding: 7px 14px; border-radius: 7px;
  font-size: 14px; font-weight: 700;
}
.topbar .cta:hover { background: #006e52; text-decoration: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--border);
  border-radius: 7px; padding: 6px 9px; font-size: 16px; cursor: pointer; }

/* layout */
.layout { display: grid; grid-template-columns: 270px 1fr; align-items: start; }
.sidebar {
  position: sticky; top: 58px; height: calc(100vh - 58px); overflow-y: auto;
  background: var(--sidebar-bg); border-right: 1px solid var(--border);
  padding: 22px 16px 60px;
}
.sidebar .group { margin-bottom: 22px; }
.sidebar .group-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-subdued); margin: 0 8px 8px;
}
.sidebar a {
  display: block; padding: 7px 10px; border-radius: 7px; color: var(--text);
  font-size: 14.5px; margin-bottom: 1px;
}
.sidebar a:hover { background: #eef0f1; text-decoration: none; }
.sidebar a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* content */
.content { padding: 36px 28px 90px; }
.content .inner { max-width: var(--maxw); margin: 0 auto; }
.content .crumbs { font-size: 13px; color: var(--text-subdued); margin-bottom: 10px; }
.content h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
.content .lead { font-size: 18px; color: var(--text-subdued); margin: 0 0 28px; }
.content h2 { font-size: 21px; margin: 36px 0 10px; }
.content h3 { font-size: 17px; margin: 26px 0 8px; }
.content p, .content li { font-size: 16px; }
.content ul, .content ol { padding-left: 22px; }
.content li { margin-bottom: 8px; }
.content img { max-width: 100%; border: 1px solid var(--border); border-radius: 8px; }

/* step screenshots */
.shot { display: block; margin: 12px 0 4px; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.shots-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 4px; align-items: start; }
.shots-2 img { box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.shot-cap { font-size: 13px; color: var(--text-subdued); margin: 4px 0 0; }
@media (max-width: 600px) { .shots-2 { grid-template-columns: 1fr; } }
.content hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

code { background: var(--code-bg); padding: 1.5px 6px; border-radius: 5px;
  font: 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
pre.code {
  background: var(--code-bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; overflow-x: auto; font: 13.5px/1.6 ui-monospace, Menlo, monospace;
  white-space: pre-wrap; word-break: break-word; margin: 10px 0;
}

/* callouts */
.note, .tip, .warn {
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  background: var(--accent-soft); border-radius: 8px; padding: 12px 14px; margin: 18px 0;
  font-size: 15px;
}
.tip { border-left-color: var(--accent); }
.warn { border-left-color: #e0a92e; background: #fff8ec; border-color: #f0d9a8; }
.note { border-left-color: #1f5199; background: #eef4ff; border-color: #cfe0f6; }
.note strong, .tip strong, .warn strong { display: inline; }

/* step list */
ol.steps { counter-reset: s; list-style: none; padding-left: 0; }
ol.steps > li {
  position: relative; padding: 0 0 18px 44px; margin: 0;
}
ol.steps > li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
ol.steps > li strong { font-weight: 700; }

/* article cards (landing) */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.card {
  display: block; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; color: var(--text); background: var(--bg);
}
.card:hover { border-color: var(--accent); text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.card .ico { font-size: 22px; }
.card h3 { margin: 8px 0 4px; font-size: 16px; }
.card p { margin: 0; font-size: 14px; color: var(--text-subdued); }

.nextprev { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px;
  border-top: 1px solid var(--border); padding-top: 20px; }
.nextprev a { font-weight: 600; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; top: 58px; left: 0; right: 0; bottom: 0; height: auto;
    border-right: none; border-bottom: 1px solid var(--border);
    transform: translateX(-100%); transition: transform .2s; z-index: 15;
  }
  .sidebar.open { transform: translateX(0); }
  .menu-btn { display: inline-block; }
  .cards { grid-template-columns: 1fr; }
  .content { padding: 24px 16px 70px; }
}
