/* Page-scoped styles for help.html */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg: #0a0a0a; --bg2: #111111; --bg3: #181818;
      --border: rgba(255,255,255,0.07); --border-bright: rgba(255,255,255,0.14);
      --lime: #bfff5e; --lime-dim: rgba(191,255,94,0.10); --lime-glow: rgba(191,255,94,0.28);
      --white: #f0f0ec; --muted: rgba(240,240,236,0.45); --faint: rgba(240,240,236,0.18);
      --mono: 'DM Mono', monospace;
      --sans: 'Bodoni Moda', Georgia, serif;
      --body: 'Instrument Sans', system-ui, sans-serif;
    }
    body { background: var(--bg); color: var(--white); font-family: var(--body); line-height: 1.7; overflow-x: hidden; }
    body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E"); pointer-events: none; z-index: 1000; opacity: 0.6; }

    .docs-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; padding-top: 65px; }

    /* SIDEBAR */
    .sidebar {
      position: sticky; top: 65px; height: calc(100vh - 65px);
      overflow-y: auto; border-right: 1px solid var(--border);
      padding: 48px 0;
    }
    .sidebar-section { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); padding: 20px 28px 8px; }
    .sidebar-section:first-child { padding-top: 0; }
    .sidebar a { display: block; font-size: 13px; color: var(--muted); text-decoration: none; padding: 7px 28px; transition: color 0.15s, background 0.15s; }
    .sidebar a:hover { color: var(--white); background: rgba(255,255,255,0.03); }
    .sidebar a.active { color: var(--lime); background: var(--lime-dim); }

    /* CONTENT */
    .doc-content { padding: 64px 72px 120px; max-width: 820px; }

    .doc-content h1 { font-family: var(--sans); font-size: clamp(36px, 4vw, 52px); font-weight: 900; font-variation-settings: 'opsz' 96; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 20px; }
    .doc-content h1 em { font-style: italic; color: var(--lime); }
    .doc-content h2 { font-family: var(--body); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 56px 0 20px; padding-top: 56px; border-top: 1px solid var(--border); scroll-margin-top: 80px; }
    .doc-content h3 { font-size: 17px; font-weight: 600; color: var(--white); margin: 32px 0 12px; }
    .doc-content p { font-size: 15px; color: var(--muted); margin-bottom: 18px; line-height: 1.85; }
    .doc-content ul, .doc-content ol { padding-left: 24px; margin-bottom: 18px; }
    .doc-content li { font-size: 15px; color: var(--muted); margin-bottom: 8px; line-height: 1.7; }
    .doc-content li strong { color: var(--white); font-weight: 400; }
    .doc-content code { font-family: var(--mono); font-size: 12px; color: var(--lime); background: var(--lime-dim); padding: 2px 7px; border-radius: 3px; }
    .doc-content a { color: var(--lime); text-decoration: none; }
    .doc-content a:hover { text-decoration: underline; }

    .doc-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }

    .step-block {
      background: var(--bg2); border: 1px solid var(--border);
      border-radius: 6px; padding: 28px 32px; margin: 24px 0;
      display: flex; gap: 20px; align-items: flex-start;
    }
    .step-num {
      flex-shrink: 0; width: 32px; height: 32px;
      background: var(--lime-dim); border: 1px solid var(--lime);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-family: var(--mono); font-size: 12px; color: var(--lime); font-weight: 500;
    }
    .step-body h3 { margin-top: 4px; margin-bottom: 8px; font-weight: 500; }
    .step-body p { margin-bottom: 0; }

    .callout {
      background: var(--lime-dim); border: 1px solid rgba(191,255,94,0.2);
      border-radius: 6px; padding: 20px 24px; margin: 24px 0;
      font-size: 14px; color: rgba(240,240,236,0.75); line-height: 1.7;
    }
    .callout strong { color: var(--lime); }

    /* SOCIAL SETUP CARDS */
    .social-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
      margin: 24px 0 16px;
    }
    .social-card {
      background: var(--bg2);
      border: 1px solid var(--border-bright);
      border-radius: 6px;
      padding: 22px 20px;
      text-decoration: none;
      color: inherit;
      transition: border-color 0.2s, transform 0.15s;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .social-card:hover {
      border-color: var(--lime);
      transform: translateY(-2px);
    }
    .social-card-badge {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--lime);
      letter-spacing: 0.05em;
    }
    .social-card-label {
      font-size: 15px;
      font-weight: 600;
      color: var(--white);
    }
    .social-card-sub {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
    }

    /* PIPELINE (How it works) */
    .pipeline-steps { margin: 28px 0 8px; }
    .pipeline-step {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 0 24px;
      position: relative;
    }
    .pipeline-step-left { display: flex; flex-direction: column; align-items: center; }
    .pipeline-num {
      width: 40px; height: 40px;
      background: var(--lime-dim); border: 1px solid var(--lime);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-family: var(--mono); font-size: 13px; color: var(--lime); font-weight: 500;
      flex-shrink: 0; position: relative; z-index: 1;
    }
    .pipeline-connector {
      width: 1px; flex: 1;
      background: var(--border-bright);
      min-height: 32px;
    }
    .pipeline-step:last-child .pipeline-connector { display: none; }
    .pipeline-body { padding: 8px 0 40px; }
    .pipeline-step:last-child .pipeline-body { padding-bottom: 0; }
    .pipeline-step-label {
      font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--lime); margin-bottom: 4px;
    }
    .pipeline-step-title {
      font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 6px;
    }
    .pipeline-step-desc {
      font-size: 14px; color: var(--muted); line-height: 1.75;
    }
    .pipeline-step-time {
      display: inline-block; margin-top: 8px;
      font-family: var(--mono); font-size: 11px;
      color: var(--faint); letter-spacing: 0.05em;
    }

    /* TROUBLESHOOTING ACCORDION */
    .issue-item { border-bottom: 1px solid var(--border); }
    .issue-item:first-of-type { border-top: 1px solid var(--border); }
    .issue-q {
      width: 100%; background: none; border: none; cursor: pointer;
      text-align: left; padding: 22px 0;
      display: flex; justify-content: space-between; align-items: flex-start;
      gap: 24px; color: inherit; font-family: inherit;
    }
    .issue-q-text {
      font-size: 15px; font-weight: 600; color: var(--white); line-height: 1.4;
    }
    .issue-icon {
      flex-shrink: 0; width: 24px; height: 24px;
      border: 1px solid var(--border-bright); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin-top: 2px;
      transition: border-color 0.2s, background 0.2s;
      color: var(--muted);
    }
    .issue-icon svg { transition: transform 0.3s ease; }
    .issue-item.open .issue-icon {
      background: var(--lime); color: var(--bg); border-color: var(--lime);
    }
    .issue-item.open .issue-icon svg { transform: rotate(180deg); }
    .issue-item.open .issue-q-text { color: var(--lime); }
    .issue-a { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
    .issue-item.open .issue-a { max-height: 600px; }
    .issue-a-inner { padding-bottom: 24px; font-size: 14px; color: var(--muted); line-height: 1.8; }
    .issue-a-inner p { margin-bottom: 12px; }
    .issue-a-inner p:last-child { margin-bottom: 0; }
    .issue-a-inner strong { color: var(--white); font-weight: 400; }
    .issue-a-inner code {
      font-family: var(--mono); font-size: 12px;
      color: var(--lime); background: var(--lime-dim);
      padding: 2px 6px; border-radius: 3px;
    }
    .issue-a-inner a { color: var(--lime); text-decoration: none; }
    .issue-a-inner a:hover { text-decoration: underline; }

    /* IN-APP ASSISTANT CALLOUT */
    .assistant-callout {
      margin: 32px 0 0;
      background: var(--lime-dim);
      border: 1px solid rgba(191,255,94,0.22);
      border-radius: 8px;
      padding: 28px 32px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
    }
    .assistant-callout-label {
      font-family: var(--mono);
      font-size: 11px; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--lime);
      margin-bottom: 8px;
    }
    .assistant-callout-title {
      font-size: 18px; font-weight: 700; color: var(--white);
      margin-bottom: 8px; letter-spacing: -0.01em;
    }
    .assistant-callout-body {
      font-size: 14px; color: var(--muted); line-height: 1.7;
      margin-bottom: 0;
    }
    .assistant-shortcut {
      display: inline-flex; align-items: center; gap: 6px;
      font-family: var(--mono); font-size: 13px;
      color: var(--lime); white-space: nowrap;
    }
    .kbd {
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--bg3); border: 1px solid var(--border-bright);
      border-radius: 4px; padding: 3px 8px;
      font-family: var(--mono); font-size: 12px;
      color: var(--white); line-height: 1.4;
    }

    /* CONTACT CARDS */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 16px;
      margin: 28px 0 0;
    }
    .contact-card {
      background: var(--bg2);
      border: 1px solid var(--border-bright);
      border-radius: 8px;
      padding: 28px 26px;
    }
    .contact-card-label {
      font-family: var(--mono); font-size: 11px;
      letter-spacing: 0.15em; text-transform: uppercase;
      color: var(--lime); margin-bottom: 10px;
    }
    .contact-card-title {
      font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px;
    }
    .contact-card-body {
      font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px;
    }
    .contact-link {
      font-family: var(--mono); font-size: 13px;
      color: var(--lime); text-decoration: none;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .contact-link:hover { text-decoration: underline; }

    .status-grid { display: grid; grid-template-columns: auto 1fr; gap: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin: 20px 0; }
    .status-row { display: contents; }
    .status-key { font-family: var(--mono); font-size: 12px; padding: 12px 20px; background: var(--bg3); border-bottom: 1px solid var(--border); color: var(--lime); white-space: nowrap; }
    .status-val { font-size: 13px; padding: 12px 20px; background: var(--bg2); border-bottom: 1px solid var(--border); color: var(--muted); }
    .status-key:last-of-type, .status-val:last-of-type { border-bottom: none; }
    .doc-footnote { font-family: var(--mono); font-size: 12px; color: var(--faint); border-top: 1px solid var(--border); padding-top: 28px; margin-top: 48px; line-height: 1.8; }
    .doc-footnote a { color: var(--muted); }

    footer { padding: 48px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .footer-logo { font-family: var(--mono); font-size: 14px; color: var(--lime); }
    .footer-links { display: flex; gap: 32px; }
    .footer-links a { font-family: var(--mono); font-size: 12px; color: var(--muted); text-decoration: none; }
    .footer-links a:hover { color: var(--white); }
    .footer-copy { font-family: var(--mono); font-size: 11px; color: var(--faint); }

    /* Sidebar toggle (mobile) */
    .sidebar-toggle {
      display: none;
      position: fixed; bottom: 24px; right: 24px; z-index: 999;
      width: 48px; height: 48px; border-radius: 50%;
      background: var(--bg2); border: 1px solid var(--border-bright);
      color: var(--lime); cursor: pointer;
      align-items: center; justify-content: center;
      box-shadow: 0 4px 16px rgba(0,0,0,0.5);
      font-size: 22px; line-height: 1;
    }

    @media (max-width: 900px) {
      .docs-layout { grid-template-columns: 1fr; }
      .sidebar {
        display: none;
        position: fixed; top: 65px; left: 0; bottom: 0; width: 260px;
        z-index: 998; background: var(--bg); border-right: 1px solid var(--border);
        overflow-y: auto; padding: 32px 0;
      }
      .sidebar.sidebar--open { display: block; }
      .sidebar-toggle { display: flex; }
      .sidebar-overlay {
        display: none; position: fixed; inset: 0; z-index: 997;
        background: rgba(0,0,0,0.5);
      }
      .sidebar-overlay.active { display: block; }
      .doc-content { padding: 48px 24px; }
      footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
      .footer-links { flex-direction: column; gap: 12px; }
      .assistant-callout { grid-template-columns: 1fr; padding: 24px; }
      .pipeline-step { grid-template-columns: 36px 1fr; }
      .pipeline-num { width: 36px; height: 36px; font-size: 12px; }
    }
