/* OneClickRunner docs — built on the shared SZA Web Kit (Pine + Gold).
   The design system lives in assets/sza-kit.css (tokens + components).
   This file keeps only OneClickRunner-specific rules. */
@import url("assets/sza-kit.css");

/* ── i18n: pure-CSS data-lang toggle (RU / EN / UA) ──────────────── */
html[data-lang="ru"] [data-l]:not([data-l="ru"]) { display: none; }
html[data-lang="en"] [data-l]:not([data-l="en"]) { display: none; }
html[data-lang="ua"] [data-l]:not([data-l="ua"]) { display: none; }

/* ── Keep the shared kit's readable 1100px stage. ───────────────── */
.hero { padding: 1.4rem 1rem 1rem; }
.hero .lead { max-width: none; }
.site-footer { margin-top: 2rem; padding: 1.5rem 0; }

/* ── "Get it" card: the kit caps this at max-width:760px, which reads as a
   narrow floating box once the page around it is wide. Let it fill the
   container, and split it into two columns on wide screens (pitch/demo/
   channels/copy on the left, the numbered quickstart beside it on the
   right) so the extra width shortens the section instead of stretching
   one paragraph edge to edge. ─────────────────────────────────────────── */
.get { max-width: none; margin: 1rem auto 1.25rem; }
.get .whatfor { max-width: 640px; }
@media (min-width: 860px) {
  .get { grid-template-columns: 1.15fr .85fr; column-gap: 2rem; align-items: start; }
  .get > .whatfor, .get > .demo, .get > .channels, .get > .copybox { grid-column: 1; }
  .get > .quickstart { grid-column: 2; grid-row: 1 / -1; align-self: stretch; margin-top: 0; }
}

/* ── Full-bleed sticky header: an edge-to-edge bar (background + bottom
   border span the whole viewport), with its content centered in the same
   --wide column as the rest of the page — not a floating inset pill. Uses
   the full screen width and drops the pill's own top/side margins. ────── */
.site-header {
  display: block; max-width: none; margin: 0; padding: 0;
  border: none; border-bottom: 1px solid var(--border); border-radius: 0;
}
.site-header .header-inner { display: flex; align-items: center; gap: 12px; padding: 10px 20px; }

/* ── Hero logo mark = the app icon itself (self-contained badge). ── */
.hero-mark {
  display: block; width: 96px; height: 96px; margin: 0 auto 1.1rem;
  border-radius: 22px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .45));
  animation: markIn .7s cubic-bezier(.34, 1.2, .4, 1) both;
}
@keyframes markIn { from { opacity: 0; transform: scale(.8) translateY(4px); } to { opacity: 1; transform: none; } }

/* ── Hero button row. ───────────────────────────────────────────── */
.button-group { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

/* ── Numbered accordion sections: title styling + body text color. ── */
.sectitle { font-size: 1.05rem; }
.secbody > p { color: var(--text-2); }

/* ── Step / feature lists with green markers. ───────────────────── */
ol.steps { padding-left: 1.3rem; margin: 0; color: var(--text-2); }
ol.steps li { margin: .5rem 0; }
ol.steps li::marker { color: var(--acc); font-weight: 700; }
ul.features { list-style: none; padding-left: 0; margin: 0; }
ul.features li { position: relative; padding-left: 1.4rem; margin: .55rem 0; color: var(--text-2); }
ul.features li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--acc);
}

/* ── Feature grid (icon cards inside a section). ────────────────── */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
@media (min-width: 700px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 1.1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: rgba(255,255,255,.02);
}
html[data-theme="light"] .feat { background: rgba(16,40,20,.02); }
.feat .fi {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: var(--acc);
  background: color-mix(in srgb, var(--acc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent);
  font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem;
}
.feat .fi svg { width: 20px; height: 20px; }
.feat h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin: .1rem 0 .3rem; color: var(--text); }
.feat p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ── Footer "more tools" grid: more columns on wide screens so the row of
   links uses the full --wide column instead of stacking into extra rows. ── */
@media (min-width: 1080px) { .tools-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Inline code chips inside prose. ────────────────────────────── */
:not(pre):not(.copybox) > code {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  padding: .1rem .4rem; border-radius: 6px;
  font-size: .88em; color: var(--text); overflow-wrap: anywhere;
}
html[data-theme="light"] :not(pre):not(.copybox) > code { background: rgba(16, 40, 20, .06); }

/* ── Command block (multi-line build steps). ────────────────────── */
pre.code {
  background: var(--code-bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem;
  overflow-x: auto; color: var(--code-ink); font-size: .86rem; line-height: 1.7;
}
pre.code .tok { color: var(--acc-strong); }
