/* Styles shared by the help center (/help/). Same palette as the rest of the site. */
:root {
  --bg: #0b1410;
  --bg-alt: #101c17;
  --card: #14231d;
  --line: #22362d;
  --text: #eef5f1;
  --muted: #a9bdb3;
  --accent: #25D366;
  --accent-ink: #062b14;
  --warn-bg: #2b2410;
  --warn-line: #7a6418;
  --warn-text: #ffe08a;
  --radius: 16px;
  --max: 880px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }

header.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(11, 20, 16, .92); backdrop-filter: blur(8px); z-index: 5; }
header.top .inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; text-decoration: none; color: var(--text); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.1rem; }
.top-links { display: flex; gap: 20px; }
.top-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top-links a:hover, .top-links a[aria-current="page"] { color: var(--text); }

main { padding: 56px 0 88px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 28px; }
h2 { font-size: 1.45rem; margin: 56px 0 12px; letter-spacing: -.01em; scroll-margin-top: 88px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
.note { color: var(--muted); }
strong.ui { color: var(--text); font-weight: 700; }

/* Section navigation (anchors #<section>). */
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin: 0 0 8px; }
.toc p { margin: 0 0 6px; color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.toc ol { margin: 0; columns: 2; column-gap: 32px; }
.toc li { margin: 0; padding: 4px 0; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }

/* Step: number, text, screenshot with caption. */
.steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 0 0 28px 52px; margin: 0; scroll-margin-top: 88px; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; }
.step::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px; width: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { margin: 4px 0 10px; }
.step .result { color: var(--muted); }
.step .result::before { content: "Verás: "; color: var(--text); font-weight: 700; }
figure.shot { margin: 14px 0 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
figure.shot img { display: block; width: 100%; height: auto; border-radius: 6px; }
figure.shot.mobile { max-width: 340px; }
figure.shot figcaption { color: var(--muted); font-size: .9rem; padding: 8px 4px 0; }
figure.shot figcaption b { color: var(--text); }

/* Placeholder for a screenshot not available yet (external tools). */
.shot-pending { margin: 14px 0 6px; border: 2px dashed var(--warn-line); background: var(--warn-bg); color: var(--warn-text); border-radius: 12px; padding: 18px 20px; }
.shot-pending strong { display: block; margin-bottom: 4px; }
.shot-pending p { margin: 0; color: var(--warn-text); }

/* Callouts. */
.tip { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.tip p { margin: 0; }

/* Help index. */
.manuals { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0 0; }
.manuals li { margin: 0; }
.manual-card { display: block; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--text); }
a.manual-card:hover { border-color: var(--accent); }
.manual-card h2 { font-size: 1.1rem; margin: 0 0 6px; }
.manual-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.manual-card .soon { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 700; color: var(--warn-text); background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 999px; padding: 1px 10px; }
.manual-card[aria-disabled="true"] { opacity: .8; }

.next { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; }

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .9rem; }
footer .inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .toc ol { columns: 1; }
  .manuals { grid-template-columns: 1fr; }
  .step { padding-left: 44px; }
  .step::before { width: 30px; height: 30px; }
  .step::after { left: 14px; }
  .top-links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
